We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc20fde commit 0bb295aCopy full SHA for 0bb295a
main.cpp
@@ -16,7 +16,14 @@ int main(int argc, char* argv[]) {
16
auto f = get_files(".");
17
18
auto dir = new Directory(".");
19
- std::cout << dir->get_paths()[0].get_perms() << std::endl;
+ for (File file : dir->get_paths()) {
20
+ std::cout << file.get_perms() << ' ';
21
+ std::cout << file.get_size() << ' ';
22
+ std::cout << file.get_group() << ' ';
23
+ std::cout << file.get_user() << ' ';
24
+ std::cout << file.get_modified() << ' ';
25
+ std::cout << file.get_path().path() << std::endl;
26
+ }
27
28
return 0;
29
}
0 commit comments