Current section
Files
Jump to
Current section
Files
lib/xberg/cache_stats.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e21c71a5751b345136e5ca51dea30bbd3862f7fdc63aa50e6b36be84c454e0e
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.CacheStats do
@moduledoc "Aggregate statistics for a xberg cache directory."
@typedoc "Aggregate statistics for a xberg cache directory."
@type t :: %__MODULE__{
total_files: non_neg_integer(),
total_size_mb: float(),
available_space_mb: float(),
oldest_file_age_days: float(),
newest_file_age_days: float()
}
defstruct total_files: 0,
total_size_mb: 0.0,
available_space_mb: 0.0,
oldest_file_age_days: 0.0,
newest_file_age_days: 0.0
end