MCPcopy Create free account
hub / github.com/clangen/musikcube / lastWriteTime

Function lastWriteTime

src/plugins/server/Transcoder.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static size_t lastWriteTime(const fs::path& path) {
77 std::error_code ec;
78 return (size_t)duration_cast<milliseconds>(
79 std::filesystem::last_write_time(path, ec).time_since_epoch()).count();
80}
81
82static size_t lastWriteTime(const std::string& path) {
83 return lastWriteTime(fs::u8path(path));

Callers 1

PruneTranscodeCacheMethod · 0.85

Calls 1

countMethod · 0.45

Tested by

no test coverage detected