40 std::string_view path_prefix);
43 std::string_view path)
override;
48 std::string_view path)
override;
53 std::string_view path)
override;
Result< std::unique_ptr< ReaderWriterSeeker > > CreateFile(std::string_view path) override
Definition: chroot.cc:56
Result< void > DeleteFile(std::string_view path) override
Definition: chroot.cc:62
ChrootReadWriteFilesystem(ReadWriteFilesystem &real_filesystem, std::string_view path_prefix)
Definition: chroot.cc:37
Result< std::string > ChrootToRealPath(std::string_view) const
Definition: chroot.cc:76
Result< std::unique_ptr< ReaderSeeker > > OpenReadOnly(std::string_view path) override
Definition: chroot.cc:41
std::string path_prefix_
Definition: chroot.h:59
Result< uint32_t > FileAttributes(std::string_view path) const override
Definition: chroot.cc:48
ReadWriteFilesystem * real_filesystem_
Definition: chroot.h:58
Result< std::unique_ptr< ReaderWriterSeeker > > OpenReadWrite(std::string_view path) override
Definition: chroot.cc:70
Definition: filesystem.h:37
Definition: alloc_driver.h:20
tl::expected< T, StackTraceError > Result
Definition: result_type.h:30