Skip to content

Method FromHostPath ​

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

FromHostPath(string, string?) ​

Converts a host file system path to a device path format.

csharp
public static string FromHostPath(string hostPath, string? baseHostPath = null)

Parameters ​

hostPath string

The host file system path.

baseHostPath string?

The base host directory to make the path relative to.

Returns ​

string

The equivalent device path.

Released under the Apache License 2.0.