CmisSync.Lib.Database.Database.RemoveRemotePrefix C# (CSharp) Метод

RemoveRemotePrefix() приватный Метод

Normalizes a remote path. All remote paths in database must be normalized.
private RemoveRemotePrefix ( string path ) : string
path string remote path.
Результат string
        private string RemoveRemotePrefix(string path)
        {
            if (path.StartsWith(remotePathPrefix))
            {
                // Remove path prefix
                path = path.Substring(remotePathPrefixSize, path.Length - remotePathPrefixSize);
                // RemoveLocalPrefix all slashes to forward slash
                // path = path.Replace('\\', '/');
            }
            return path;
        }