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;
        }