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:
@@ -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};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user