/* * Copyright (c) 2022, Liav A. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Kernel { class SysFSRootDirectory final : public SysFSDirectory { friend class SysFSComponentRegistry; public: virtual StringView name() const override { return "."sv; } static NonnullLockRefPtr create(); private: virtual bool is_root_directory() const override final { return true; } SysFSRootDirectory(); LockRefPtr m_buses_directory; }; }