1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
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);
}