Skip to content

Commit 1efee80

Browse files
authored
Merge pull request storm-devs#425 from storm-devs/feature/rework-scripts-cache
[core] rework script cache
2 parents c56315c + d99e41f commit 1efee80

File tree

7 files changed

+366
-301
lines changed

7 files changed

+366
-301
lines changed

src/libs/core/include/file_service.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,6 @@ class FILE_SERVICE : public VFILE_SERVICE
127127
void AddEntryToResourcePaths(const std::filesystem::directory_entry &entry, std::string &CheckingPath);
128128
void ScanResourcePaths() override;
129129
std::string ConvertPathResource(const char *path) override;
130+
131+
uint64_t GetPathFingerprint(const std::filesystem::path &path) override;
130132
};

src/libs/core/include/v_file_service.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class VFILE_SERVICE
5858
// Resource paths
5959
virtual void ScanResourcePaths() = 0;
6060
virtual std::string ConvertPathResource(const char *path) = 0;
61+
62+
virtual uint64_t GetPathFingerprint(const std::filesystem::path& path) = 0;
6163
};
6264

6365
//------------------------------------------------------------------------------------------------

0 commit comments

Comments
 (0)