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