2018-10-10 06:53:07 -03:00
|
|
|
#include "InodeIdentifier.h"
|
|
|
|
|
#include "FileSystem.h"
|
|
|
|
|
|
2018-12-02 21:20:00 -02:00
|
|
|
ByteBuffer InodeIdentifier::read_entire_file() const
|
2018-10-10 06:53:07 -03:00
|
|
|
{
|
2018-12-02 21:20:00 -02:00
|
|
|
if (!fs())
|
2018-10-10 06:53:07 -03:00
|
|
|
return { };
|
2018-12-02 21:20:00 -02:00
|
|
|
return fs()->read_entire_inode(*this, nullptr);
|
2018-10-10 06:53:07 -03:00
|
|
|
}
|