public RemotePathSyncItem ( string remoteFolderPath, bool isFolder, |
||
remoteFolderPath | string | Example: /sites/aproject/adir |
isFolder | bool | |
repoInfo | ||
database | Database | |
return | System |
public RemotePathSyncItem(string remoteFolderPath, bool isFolder, RepoInfo repoInfo, Database.Database database)
{
this.isFolder = isFolder;
this.database = database;
this.localRoot = repoInfo.TargetDirectory;
this.remoteRoot = repoInfo.RemotePath;
this.remoteRelativePath = remoteFolderPath;
if (remoteRelativePath.StartsWith(this.remoteRoot))
{
this.remoteRelativePath = remoteRelativePath.Substring(this.remoteRoot.Length).TrimStart(CmisUtils.CMIS_FILE_SEPARATOR);
}
}
RemotePathSyncItem::RemotePathSyncItem ( string remoteRelativePath, string localFilename, |
|
RemotePathSyncItem::RemotePathSyncItem ( string remoteFolderPath, string remoteDocumentName, string localFilename, bool isFolder, |