MirrorAction

works.iterative.claude.core.log.MirrorAction

One planned mirror operation for a single file, keyed by its path relative to the tree root.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Copy(rel: SubPath)

File exists in the source tree but not the mirror: copy it whole.

File exists in the source tree but not the mirror: copy it whole.

Attributes

final case class Extend(rel: SubPath, mirroredSize: Long)

Source is larger than the mirror: a candidate append from mirroredSize. The interpreter verifies the mirrored bytes are a prefix of the source before appending, and recopies on any mismatch.

Source is larger than the mirror: a candidate append from mirroredSize. The interpreter verifies the mirrored bytes are a prefix of the source before appending, and recopies on any mismatch.

Attributes

final case class Recopy(rel: SubPath)

Source is smaller than the mirror (the file shrank): recopy it whole.

Source is smaller than the mirror (the file shrank): recopy it whole.

Attributes

final case class Skip(rel: SubPath)

Source and mirror sizes match: assume identical and leave it untouched.

Source and mirror sizes match: assume identical and leave it untouched.

Attributes