mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
parent
52e582132f
commit
60edfa4d77
@ -128,6 +128,12 @@ struct Fs_query::Watched_directory
|
||||
{
|
||||
xml.node("dir", [&] () {
|
||||
xml.attribute("path", _rel_path);
|
||||
|
||||
_dir.for_each_entry([&] (Directory::Entry const &entry) {
|
||||
if (entry.dir())
|
||||
xml.node("dir", [&] () {
|
||||
xml.attribute("name", entry.name()); }); });
|
||||
|
||||
_files.for_each([&] (Watched_file const &file) {
|
||||
file.gen_query_response(xml, query, _alloc, _dir); });
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user