Skip to content

Method GetDirectoryName

Namespace: Belay.Sync
Assembly: Belay.Sync.dll

GetDirectoryName(string)

Gets the directory name of the specified path.

csharp
public static string GetDirectoryName(string path)

Parameters

path string

The path to get the directory name for.

Returns

string

The directory name, or "/" for the root directory.

Released under the Apache License 2.0.