1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 03:29:40 +00:00

Implement open/create and close, of the key file.

This commit is contained in:
Thomas Harte
2025-11-20 17:12:31 -05:00
parent 4a93264dc5
commit 314154e9fd
6 changed files with 89 additions and 23 deletions
+13
View File
@@ -7,3 +7,16 @@
//
#include "FileBundle.hpp"
using namespace Storage::FileBundle;
std::optional<Storage::FileHolder> LocalFSFileBundle::key_file() {
return {to_contain_};
}
Storage::FileHolder LocalFSFileBundle::open(const std::string &name, Storage::FileMode mode) {
// TODO: append path. Just cheat for now.
(void)name;
return {/* name */ to_contain_, mode};
}