This commit is contained in:
Scott E. Graves 2024-12-19 13:16:13 -06:00
parent ce2bf344f9
commit ce0e1358fc
2 changed files with 3 additions and 2 deletions

View File

@ -119,7 +119,7 @@ public:
open_file_data ofd, std::uint64_t &handle,
std::shared_ptr<i_open_file> &file) -> api_error;
auto evict_file(const std::string &api_path) -> bool override;
[[nodiscard]] auto evict_file(const std::string &api_path) -> bool override;
[[nodiscard]] auto get_directory_items(const std::string &api_path) const
-> directory_item_list override;

View File

@ -31,7 +31,8 @@ class i_file_manager {
INTERFACE_SETUP(i_file_manager);
public:
virtual auto evict_file(const std::string &api_path) -> bool = 0;
[[nodiscard]] virtual auto evict_file(const std::string &api_path)
-> bool = 0;
[[nodiscard]] virtual auto
get_directory_items(const std::string &api_path) const