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