mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 10:40:39 +09:00
Add support for removing directories.
It's really only supported in Ext2FS since SynthFS doesn't really want you mucking around with its files. This is pretty neat though :^) I ran into some trouble with HashMap while working on this but opted to work around it and leave that for a separate investigation.
This commit is contained in:
parent
031c62a21e
commit
c95228b128
Notes:
sideshowbarker
2024-07-19 15:55:42 +09:00
Author: https://github.com/awesomekling
Commit: c95228b128
19 changed files with 185 additions and 40 deletions
|
@ -48,7 +48,7 @@ FS* FS::from_fsid(dword id)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
ByteBuffer Inode::read_entire(FileDescriptor* descriptor)
|
||||
ByteBuffer Inode::read_entire(FileDescriptor* descriptor) const
|
||||
{
|
||||
size_t initial_size = metadata().size ? metadata().size : 4096;
|
||||
auto contents = ByteBuffer::create_uninitialized(initial_size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue