12 std::string mountPoint;
13 std::filesystem::path path;
17 std::string_view mountPoint,
18 const std::filesystem::path& projectPath
21 const std::vector<MountPoint>& GetMountedDirectories()
const;
23 void DispatchTask(
const std::filesystem::path& path)
const;
24 virtual bool TryGetPathWithMountPoint(
25 const std::filesystem::path& path,
26 std::filesystem::path& outMountedPath
29 virtual bool TryGetAbsolutePathFromMountedPath(
30 const std::filesystem::path& mountedPath,
31 std::filesystem::path& outAbsolutePath
34 void CleanupStaleFiles();
36 void HandleAddMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
37 void HandleAddFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
39 void HandleModifyMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
40 void HandleModifyFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
42 void HandleMoveMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath, std::string oldFilename);
43 void HandleMoveFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath, std::string oldFilename);
45 void HandleDeleteMetaFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
46 void HandleDeleteFile(
const MountPoint& mountPoint,
const std::filesystem::directory_entry& filePath);
48 void PreprocessFilesOnMount(
50 std::filesystem::directory_iterator directoryIterator
52 bool CheckIfCompiledFileNeedsToBeUpdated(
const MountPoint& mountPoint,
const std::filesystem::path& path)
const;
53 void UpdateCompiledFileIfNecessary(
const MountPoint& mountPoint,
const std::filesystem::path& path)
const;
54 std::filesystem::directory_entry GetFileFromMetaPath(
const std::filesystem::directory_entry& entry);
56 std::vector<MountPoint> mountedDirectories;