public RemoteSyncDirectory( IRemoteDirectory remoteDirectory, bool compressBlobs = false) { RemoteDirectory = remoteDirectory; _remoteIndexOutputFactory = GetAzureIndexOutputFactory(); _remoteDirectoryIndexInputFactory = GetAzureIndexInputFactory(); LoggingService = new TraceLoggingService(); CompressBlobs = compressBlobs; }
public RemoteSyncDirectory(IRemoteDirectory remoteDirectory, Directory cacheDirectory, bool compressBlobs = false) { CacheDirectory = cacheDirectory; LoggingService = new TraceLoggingService(); RemoteDirectory = remoteDirectory; _lockFactory = GetLockFactory(); _remoteIndexOutputFactory = GetAzureIndexOutputFactory(); _remoteDirectoryIndexInputFactory = GetAzureIndexInputFactory(); GuardCacheDirectory(CacheDirectory); CompressBlobs = compressBlobs; }