#pragma once #include #include #include #include #include namespace os { namespace FileSystem { bool exists(const Path& path, bool follow_symlinks = true); bool is_directory(const Path& path, bool follow_symlinks = false); Result stat(const Path& path, struct stat& st, bool follow_symlinks = true); Result create_directory(StringView path, mode_t mode); Result remove(const Path& path); Result remove_tree(const Path& path); Result readlink(const Path& path); Result working_directory(); Result home_directory(); Result change_directory(StringView path); } }