ladybird/VirtualFileSystem/InodeIdentifier.cpp
Andreas Kling 9528edab92 Move readEntireInode() up to FileSystem (from ext2.)
It's just a wrapper around multiple calls to readInodeBytes() now.
2018-10-15 00:16:14 +02:00

9 lines
201 B
C++

#include "InodeIdentifier.h"
#include "FileSystem.h"
ByteBuffer InodeIdentifier::readEntireFile() const
{
if (!fileSystem())
return { };
return fileSystem()->readEntireInode(*this);
}