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

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

RemoveLocalPrefix a path. All paths stored in database must be normalized. Goals: - Make data smaller in database - Reduce OS-specific differences
private RemoveLocalPrefix ( string path ) : string
path string
Результат string
        private string RemoveLocalPrefix(string path)
        {
            if (path.StartsWith(localPathPrefix))
            {
                // Remove path prefix
                path = path.Substring(localPathPrefixSize, path.Length - localPathPrefixSize);
            }
            return path;
        }