mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
More coding style changes.
This commit is contained in:
parent
d824442e3e
commit
f6e27c2abe
39 changed files with 216 additions and 216 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
protected:
|
||||
typedef unsigned InodeIndex;
|
||||
|
||||
InodeIndex generateInodeIndex();
|
||||
InodeIndex generate_inode_index();
|
||||
static constexpr InodeIndex RootInodeIndex = 1;
|
||||
|
||||
SynthFS();
|
||||
|
@ -35,11 +35,11 @@ protected:
|
|||
RetainPtr<SynthFSInode> create_text_file(String&& name, ByteBuffer&&, Unix::mode_t = 0010644);
|
||||
RetainPtr<SynthFSInode> create_generated_file(String&& name, Function<ByteBuffer()>&&, Unix::mode_t = 0100644);
|
||||
|
||||
InodeIdentifier addFile(RetainPtr<SynthFSInode>&&, InodeIndex parent = RootInodeIndex);
|
||||
bool removeFile(InodeIndex);
|
||||
InodeIdentifier add_file(RetainPtr<SynthFSInode>&&, InodeIndex parent = RootInodeIndex);
|
||||
bool remove_file(InodeIndex);
|
||||
|
||||
private:
|
||||
InodeIndex m_nextInodeIndex { 2 };
|
||||
InodeIndex m_next_inode_index { 2 };
|
||||
HashMap<InodeIndex, RetainPtr<SynthFSInode>> m_inodes;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue