#include "kernel/filesystem/inode.hpp" namespace kernel::filesystem { inode::inode(inode_kind kind) : m_kind(kind) {} auto inode::is_directory() const -> bool { return m_kind == inode_kind::directory; } auto inode::is_regular() const -> bool { return m_kind == inode_kind::regular; } auto inode::is_device() const -> bool { return m_kind == inode_kind::device; } } // namespace kernel::filesystem