tor
master
|
Data Fields | |
char * | directory |
smartlist_t * | contents |
int | max_files |
int | usage_known |
uint64_t | usage |
A storage_dir_t represents a directory full of similar cached files. Filenames are decimal integers. Files can be cleaned as needed to limit total disk usage.
smartlist_t* contents |
Either NULL, or a directory listing of the directory (as a smartlist of strings
char* directory |
Directory holding the files for this storagedir.
int max_files |
The largest number of non-temporary files we'll place in the directory.
uint64_t usage |
The total number of bytes used in this directory
int usage_known |
If true, then 'usage' has been computed.