From d027d60f364e4e6345d26bc5f90eaedcc7793fc7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 22 Jul 2026 16:02:50 +0200 Subject: kapi/fs: implement status and raw_device --- kapi/kapi/filesystem.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kapi') diff --git a/kapi/kapi/filesystem.hpp b/kapi/kapi/filesystem.hpp index 2b5dc827..56bb295f 100644 --- a/kapi/kapi/filesystem.hpp +++ b/kapi/kapi/filesystem.hpp @@ -80,6 +80,12 @@ namespace kapi::filesystem //! @return Nothing on success, an error on failure. auto create(std::string_view path) -> kstd::result; + //! Get the status information for the file at a given path. + //! + //! @param path The path to the file to query information for. + //! @return A populated file status object on success, an error otherwise. + auto status(std::string_view path) -> kstd::result; + //! @} } // namespace kapi::filesystem -- cgit v1.2.3