public LocalPathSyncItem ( string localPath, bool isFolder, |
||
localPath | string | |
isFolder | bool | |
repoInfo | ||
database | Database | |
Результат | 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);
}
}
LocalPathSyncItem::LocalPathSyncItem ( string localPrefix, string localPath, string remotePrefix, string remotePath, bool isFolder ) : System |