|
Android-cuttlefish cvd tool
|
#include "cuttlefish/common/libs/utils/disk_usage.h"#include <stddef.h>#include <sys/stat.h>#include <sys/types.h>#include <set>#include <string>#include <utility>#include "cuttlefish/files/directory_contents.h"#include "cuttlefish/posix/stat.h"#include "cuttlefish/result/result.h"
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::anonymous_namespace{disk_usage.cpp} |
Typedefs | |
| using | cuttlefish::anonymous_namespace{disk_usage.cpp}::InodeSet = std::set< std::pair< dev_t, ino_t > > |
Functions | |
| Result< size_t > | cuttlefish::anonymous_namespace{disk_usage.cpp}::DirectoryApparentSize (const std::string &dir, const struct stat &dir_st, InodeSet &counted_inodes) |
| Result< size_t > | cuttlefish::anonymous_namespace{disk_usage.cpp}::ApparentSize (const std::string &path) |
| Result< size_t > | cuttlefish::GetDiskUsageBytes (const std::string &path) |
| Result< size_t > | cuttlefish::GetDiskUsageGigabytes (const std::string &path) |