]> git.sesse.net Git - nageru/blobdiff - db.h
Remove frame files that do not exist from the database.
[nageru] / db.h
diff --git a/db.h b/db.h
index 88196c7526407e1df24e80d5f6b4c4bd4122d74a..f8032c0e43d3502360fc74346de0ea87684a26f5 100644 (file)
--- a/db.h
+++ b/db.h
@@ -23,6 +23,7 @@ public:
        };
        std::vector<FrameOnDiskAndStreamIdx> load_frame_file(const std::string &filename, size_t size, unsigned frame_idx);  // Empty = none found, or there were no frames.
        void store_frame_file(const std::string &filename, size_t size, const std::vector<FrameOnDiskAndStreamIdx> &frames);
+       void clean_unused_frame_files(const std::vector<std::string> &used_filenames);
 
 private:
        StateProto state;