mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 05:49:56 -04:00
Cleanup
This commit is contained in:
parent
fc5815e2cc
commit
bfe8e2e4c4
@ -81,9 +81,7 @@ class directory_view
|
||||
friend class dir_entry_view;
|
||||
|
||||
public:
|
||||
// TODO: not sure if these are needed
|
||||
uint32_t inode() const { return inode_; }
|
||||
bool is_root() const { return inode_ == 0; }
|
||||
|
||||
uint32_t entry_count() const;
|
||||
|
||||
@ -131,7 +129,7 @@ class dir_entry_view {
|
||||
dir_entry_view(DirEntryView v, uint32_t self_index, uint32_t parent_index,
|
||||
Meta const* meta)
|
||||
: v_{v}
|
||||
, self_index_{self_index} // TODO: check if we really need this
|
||||
, self_index_{self_index}
|
||||
, parent_index_{parent_index}
|
||||
, meta_{meta} {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user