Dagger.Changeset (dagger v0.19.4)
View SourceA comparison between two directories representing changes that can be applied.
Summary
Functions
Files and directories that were added in the newer directory.
The newer/upper snapshot.
Return a Git-compatible patch of the changes
The older/lower snapshot to compare against.
Returns true if the changeset is empty (i.e. there are no changes).
Applies the diff represented by this changeset to a path on the host.
A unique identifier for this Changeset.
Return a snapshot containing only the created and modified files
Files and directories that existed before and were updated in the newer directory.
Files and directories that were removed. Directories are indicated by a trailing slash, and their child paths are not included.
Force evaluation in the engine.
Types
Functions
Files and directories that were added in the newer directory.
@spec after_(t()) :: Dagger.Directory.t()
The newer/upper snapshot.
@spec as_patch(t()) :: Dagger.File.t()
Return a Git-compatible patch of the changes
@spec before(t()) :: Dagger.Directory.t()
The older/lower snapshot to compare against.
Returns true if the changeset is empty (i.e. there are no changes).
Applies the diff represented by this changeset to a path on the host.
@spec id(t()) :: {:ok, Dagger.ChangesetID.t()} | {:error, term()}
A unique identifier for this Changeset.
@spec layer(t()) :: Dagger.Directory.t()
Return a snapshot containing only the created and modified files
Files and directories that existed before and were updated in the newer directory.
Files and directories that were removed. Directories are indicated by a trailing slash, and their child paths are not included.
Force evaluation in the engine.