agde::fast_forward

Enum MetadataChange

source
pub enum MetadataChange {
    Modify(String, bool, Option<SystemTime>),
    Delete(String),
}
Expand description

A single change between sets of metadata.

Variants§

§

Modify(String, bool, Option<SystemTime>)

True if the resource was just created.

The SystemTime is the modify time of the target of the difference. It represents the ResourceMeta::mtime_in_current.

The SystemTime is here to update the mtime of resources which did not get their mtime updated due to the diff being empty.

§

Delete(String)

The resource was destroyed.

Implementations