CmisSync.Lib.LocalPathSyncItem.LocalPathSyncItem C# (CSharp) Method

LocalPathSyncItem() public method

public LocalPathSyncItem ( string localPath, bool isFolder, RepoInfo repoInfo, Database database ) : System
localPath string
isFolder bool
repoInfo RepoInfo
database Database
return System
        public LocalPathSyncItem(string localPath, bool isFolder, RepoInfo repoInfo, Database.Database database)
        {
            this.isFolder = isFolder;
            this.database = database;
            this.localRoot = repoInfo.TargetDirectory;
            this.remoteRoot = repoInfo.RemotePath;

            this.localRelativePath = localPath;
            if (localPath.StartsWith(this.localRoot))
            {
                this.localRelativePath = localPath.Substring(localRoot.Length).TrimStart(Path.DirectorySeparatorChar);
            }
        }

Same methods

LocalPathSyncItem::LocalPathSyncItem ( string localPrefix, string localPath, string remotePrefix, string remotePath, bool isFolder ) : System
LocalPathSyncItem