mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-02 15:40:55 +00:00
parent
52e582132f
commit
60edfa4d77
@ -128,6 +128,12 @@ struct Fs_query::Watched_directory
|
|||||||
{
|
{
|
||||||
xml.node("dir", [&] () {
|
xml.node("dir", [&] () {
|
||||||
xml.attribute("path", _rel_path);
|
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) {
|
_files.for_each([&] (Watched_file const &file) {
|
||||||
file.gen_query_response(xml, query, _alloc, _dir); });
|
file.gen_query_response(xml, query, _alloc, _dir); });
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user