[go: up one dir, main page]

tree: f519ddf8b7467322ebae126c1d9170497449acff [path history] [tgz]
  1. calculator/
  2. dbus/
  3. dbus_bindings/
  4. init/
  5. minijail/
  6. seccomp/
  7. BUILD.gn
  8. cli.cc
  9. daemon.cc
  10. daemon.h
  11. DIR_METADATA
  12. disk_usage.h
  13. disk_usage_impl.cc
  14. disk_usage_impl.h
  15. disk_usage_proxy.cc
  16. disk_usage_proxy.h
  17. disk_usage_test.cc
  18. main.cc
  19. OWNERS
  20. projects.json
  21. README.md
spaced/README.md

Spaced: daemon for querying disk usage data

spaced surfaces disk usage information via a D-Bus interface. Currently, spaced supports the following interfaces:

  • Method GetTotalDiskSpace: Gets the total disk space available for usage on the device for a given path (including currently used space).
  • Method GetFreeDiskSpace: Gets the available free space for use on the device for a given path.

Those D-Bus methods must be preferred over local library calls / syscalls such as base::SysInfo::AmountOfFreeDiskSpace because spaced's takes the underlying thinpool into account, for example.