summaryrefslogtreecommitdiff
path: root/cabinet/magic.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cabinet/magic.hpp')
-rw-r--r--cabinet/magic.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cabinet/magic.hpp b/cabinet/magic.hpp
index 222d488..96f4b08 100644
--- a/cabinet/magic.hpp
+++ b/cabinet/magic.hpp
@@ -55,6 +55,7 @@ namespace cab
auto operator=(magic && other) noexcept -> magic &;
auto process(std::filesystem::path path) -> std::expected<std::string, std::string>;
+ auto process(int file_descriptor) -> std::expected<std::string, std::string>;
private:
explicit magic(::magic_t cookie) noexcept;