diff options
| author | marcel.braun <marcel.braun@ost.ch> | 2026-03-17 19:36:20 +0100 |
|---|---|---|
| committer | marcel.braun <marcel.braun@ost.ch> | 2026-03-17 19:36:20 +0100 |
| commit | 3ace886a9e9f044cd48de51f0a15aceb02bfa9b2 (patch) | |
| tree | 1dc00e8802ab8fb60809b1f55ae7baadf9e430e1 /kernel/filesystem/src/mount.cpp | |
| parent | 59504cfd677dd3e9d9ddb0deea4df7614efedb84 (diff) | |
| download | teachos-3ace886a9e9f044cd48de51f0a15aceb02bfa9b2.tar.xz teachos-3ace886a9e9f044cd48de51f0a15aceb02bfa9b2.zip | |
Clean up project folder structure
Diffstat (limited to 'kernel/filesystem/src/mount.cpp')
| -rw-r--r-- | kernel/filesystem/src/mount.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/kernel/filesystem/src/mount.cpp b/kernel/filesystem/src/mount.cpp deleted file mode 100644 index 021b074..0000000 --- a/kernel/filesystem/src/mount.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#include "filesystem/mount.hpp" - -#include "kapi/system.hpp" - -#include "filesystem/filesystem.hpp" - -#include <kstd/memory> - -#include <string_view> - -namespace filesystem -{ - mount::mount(std::string_view const & path, kstd::shared_ptr<filesystem> const & fs) - : m_path(path) - , m_filesystem(fs) - { - if (!m_filesystem) - { - kapi::system::panic("[FILESYSTEM] mount initialized with null filesystem."); - } - } - - auto mount::path() const -> std::string_view - { - return m_path; - } - - auto mount::get_filesystem() const -> kstd::shared_ptr<filesystem> const & - { - return m_filesystem; - } -} // namespace filesystem
\ No newline at end of file |
