#ifndef TEACH_OS_KERNEL_CUSTODY_HPP #define TEACH_OS_KERNEL_CUSTODY_HPP #include "filesystem/inode.hpp" namespace filesystem { struct custody { custody(custody * parent, inode * node); [[nodiscard]] auto get_inode() const -> inode *; [[nodiscard]] auto get_parent() const -> custody *; private: custody * m_parent; inode * m_inode; }; } // namespace filesystem #endif