All: Clear lines with only whitspace in them

This commit is contained in:
Bananymous
2023-09-09 22:52:03 +03:00
parent 1fcf122c50
commit 921d95d18f
67 changed files with 95 additions and 119 deletions

View File

@@ -5,7 +5,7 @@
namespace Kernel
{
class DevFileSystem final : public RamFileSystem
{
public:
@@ -13,7 +13,7 @@ namespace Kernel
static DevFileSystem& get();
void initialize_device_updater();
void add_device(BAN::StringView path, BAN::RefPtr<RamInode>);
dev_t get_next_dev();

View File

@@ -4,7 +4,7 @@
namespace Kernel
{
class FileSystem
{
public:

View File

@@ -6,7 +6,7 @@
namespace Kernel
{
class RamInode;
class RamDirectoryInode;

View File

@@ -14,7 +14,7 @@ namespace Kernel
public:
static BAN::ErrorOr<BAN::RefPtr<RamInode>> create(RamFileSystem&, mode_t, uid_t, gid_t);
virtual ~RamInode() = default;
virtual ino_t ino() const override { return m_inode_info.ino; }
virtual Mode mode() const override { return { m_inode_info.mode }; }
virtual nlink_t nlink() const override { return m_inode_info.nlink; }
@@ -80,7 +80,7 @@ namespace Kernel
private:
RamDirectoryInode(RamFileSystem&, ino_t parent, mode_t, uid_t, gid_t);
private:
static constexpr size_t m_name_max = NAME_MAX;
struct Entry
@@ -106,7 +106,7 @@ namespace Kernel
virtual off_t size() const override { return m_target.size(); }
BAN::ErrorOr<void> set_link_target(BAN::StringView);
protected:
virtual BAN::ErrorOr<BAN::String> link_target_impl() override;
@@ -115,7 +115,7 @@ namespace Kernel
private:
BAN::String m_target;
friend class RamFileSystem;
};