Skip to content

Method GetFileName

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

GetFileName(string)

Gets the file name from the specified path.

csharp
public static string GetFileName(string path)

Parameters

path string

The path to get the file name from.

Returns

string

The file name, or empty string for the root directory.

Released under the Apache License 2.0.