Skip to content

Commit 9f5c491

Browse files
Johan-Liebert1cgwalters
authored andcommitted
composefs/export: Use ocidir for creating OCI compliant directory
Instead of handling the history,metadata,annotations ourselves, delegate them to `ocidir` crate. Also take into account the source and target image references Finally call `skopeo::copy` to copy to containers-storage Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
1 parent 64a82e5 commit 9f5c491

9 files changed

Lines changed: 177 additions & 181 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/lib/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ liboverdrop = "0.1.0"
6262
libsystemd = "0.7"
6363
linkme = "0.3"
6464
nom = "8.0.0"
65+
ocidir = "0.6.0"
6566
schemars = { version = "1.0.4", features = ["chrono04"] }
6667
serde_ignored = "0.1.10"
6768
serde_yaml = "0.9.34"

0 commit comments

Comments
 (0)