pub struct StorageSummary {
pub state_dir: String,
pub workspace: String,
pub sessions_bytes: u64,
pub sessions_count: u64,
pub worktrees_bytes: u64,
pub worktrees_count: u64,
pub memory_bytes: u64,
pub other_bytes: u64,
pub total_bytes: u64,
}Expand description
On-disk usage broken down by owning store.
Fields§
§state_dir: StringState directory holding session archives and sibling stores.
workspace: StringWorkspace whose .vtcode stores were measured.
sessions_bytes: u64Bytes used by session archives.
sessions_count: u64Number of session archives counted.
worktrees_bytes: u64Bytes used by managed loop-isolation worktrees.
worktrees_count: u64Number of managed worktrees counted.
memory_bytes: u64Bytes used by per-workspace .vtcode/sessions memory stores.
other_bytes: u64Bytes used by the rest of the state directory.
total_bytes: u64Sum of every category above.
Trait Implementations§
Source§impl Clone for StorageSummary
impl Clone for StorageSummary
Source§impl Debug for StorageSummary
impl Debug for StorageSummary
Source§impl<'de> Deserialize<'de> for StorageSummary
impl<'de> Deserialize<'de> for StorageSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StorageSummary
Source§impl PartialEq for StorageSummary
impl PartialEq for StorageSummary
Source§impl Serialize for StorageSummary
impl Serialize for StorageSummary
impl StructuralPartialEq for StorageSummary
Auto Trait Implementations§
impl Freeze for StorageSummary
impl RefUnwindSafe for StorageSummary
impl Send for StorageSummary
impl Sync for StorageSummary
impl Unpin for StorageSummary
impl UnsafeUnpin for StorageSummary
impl UnwindSafe for StorageSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.