12 std::string mountPoint;
13 std::filesystem::path path;
17 std::string_view mountPoint,
18 const std::filesystem::path& projectPath
21 void UnmountDirectory(
22 std::string_view mountPoint
26 const std::vector<MountPoint>& GetMountedDirectories()
const;
28 void DispatchTask(
const std::filesystem::path& path)
const;
29 virtual bool TryGetPathWithMountPoint(
30 const std::filesystem::path& path,
31 std::filesystem::path& outMountedPath
34 virtual bool TryGetAbsolutePathFromMountedPath(
35 const std::filesystem::path& mountedPath,
36 std::filesystem::path& outAbsolutePath
39 void CleanupStaleFiles();
41 void HandleAddMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
42 void HandleAddFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
44 void HandleModifyMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
45 void HandleModifyFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
47 void HandleMoveMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath, std::string oldFilename);
48 void HandleMoveFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath, std::string oldFilename);
50 void HandleDeleteMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
51 void HandleDeleteFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
53 void PreprocessFilesOnMount(
55 std::filesystem::directory_iterator directoryIterator
57 bool CheckIfCompiledFileNeedsToBeUpdated(
const MountPoint& mountPoint,
const std::filesystem::path& path)
const;
58 void UpdateCompiledFileIfNecessary(
const MountPoint& mountPoint,
const std::filesystem::path& path)
const;
59 std::filesystem::directory_entry GetFileFromMetaPath(
const std::filesystem::directory_entry& entry);
62 std::vector<MountPoint> mountedDirectories;