27 if (uploadThread ==
null)
36 if (syncThread ==
null)
78 string filename =
file.Filename;
89 if (localUser !=
null)
151 while (
file ==
null);
152 return file.<Data>k__BackingField;
163 return text2.Replace(
"//",
"/");
class f__AnonymousType0<< Count > j__TPar
void FileSyncInternal(object threadContext)
CachedFile GetFile(string path, bool create=true)
string[] GetFiles(string path, string searchPattern)
bool Exists(string filename)
ManualResetEvent uploadPending
List< CachedFile > modifications
byte[] ReadFile(string filename)
string CleanPath(string path)
void SyncFolder(string folderPath, bool recursive=false)
void WriteFile(string filename, byte[] fileData)
readonly bool PrimaryUser
void GetFileModifications(List< CachedFile > files)
ManagedThread UploadThread
CacheFileManager(FileManager fileMan, FileAPI api, bool primaryUser, PlatformUser user)
readonly PlatformUser User
void FileUpload(object threadContext)
readonly FileManager fileManager
void Delete(string filename)
void SetAttributes(string filename, FileAttributes fileAttributes)
void Unmount(bool forSync)
string[] GetFolders(string path)
void CreateDirectory(string directory)
List< CachedFile > allFiles
void SyncFile(string filePath)
static string CleanSwitchPath(string path)
static void TerminateThread(ManagedThread thread)
static LocalUser FindLocalUserByUser(PlatformUser user)