refactor
This commit is contained in:
parent
ce2bf344f9
commit
ce0e1358fc
@ -119,7 +119,7 @@ public:
|
|||||||
open_file_data ofd, std::uint64_t &handle,
|
open_file_data ofd, std::uint64_t &handle,
|
||||||
std::shared_ptr<i_open_file> &file) -> api_error;
|
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
|
[[nodiscard]] auto get_directory_items(const std::string &api_path) const
|
||||||
-> directory_item_list override;
|
-> directory_item_list override;
|
||||||
|
@ -31,7 +31,8 @@ class i_file_manager {
|
|||||||
INTERFACE_SETUP(i_file_manager);
|
INTERFACE_SETUP(i_file_manager);
|
||||||
|
|
||||||
public:
|
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
|
[[nodiscard]] virtual auto
|
||||||
get_directory_items(const std::string &api_path) const
|
get_directory_items(const std::string &api_path) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user