mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
gems/vfs.h: add Directory::unlink
This is needed to accommodate the fs_tool component. Issue #3222
This commit is contained in:
parent
4264de05f9
commit
73f79ed5b1
@ -283,6 +283,11 @@ struct Genode::Directory : Noncopyable, Interface
|
||||
|
||||
return Path(Genode::Cstring(buf, out_count));
|
||||
}
|
||||
|
||||
void unlink(Path const &rel_path)
|
||||
{
|
||||
_fs.unlink(join(_path, rel_path).string());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user