#include <dutree.h>
Collaboration diagram for DirTree:
Public Methods | |
DirTree () | |
void | calc_EnTree (const char *target, EnTree *my_tree) |
Wrapper for calculating entry sizes. | |
void | set_watcher (Watcher< DirTree > &my_watch) |
Public Attributes | |
bool | opt_count_all |
Count all entries, even if they point at the same file. | |
bool | opt_dereference_arguments |
bool | opt_one_file_system |
Only display the results on one file system. | |
bool | opt_separate_dirs |
bool | opt_all |
Print all entries, files and directories. | |
bool | up_immediate |
Update ancestors in the tree immediately. | |
int | max_depth |
The maximum depth of the tree to create. |
It produces a tree of EnTree objects that represent the current directory.
|
01273 { 01274 init(); 01275 } |
|
Wrapper for calculating entry sizes.
01304 {
01305 Context cx1("DirTree::calc_EnTree(const char *, EnTree *)");
01306 count_entry(target, 1, 0, 0, my_tree);
01307 }
|
|
01310 { 01311 this->my_watch=&my_watch; 01312 } |
|
Count all entries, even if they point at the same file.
|
|
|
|
Only display the results on one file system.
|
|
|
|
Print all entries, files and directories.
|
|
Update ancestors in the tree immediately.
|
|
The maximum depth of the tree to create.
|