Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ To access an existing OCI directory:

```rust,no_run
# use ocidir::cap_std;
# use ocidir::prelude::*;
# use anyhow::{anyhow, Result};
# fn main() -> anyhow::Result<()> {
let d = cap_std::fs::Dir::open_ambient_dir("/path/to/ocidir", cap_std::ambient_authority())?;
Expand Down
1 change: 1 addition & 0 deletions examples/ocidir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use oci_distribution::secrets::RegistryAuth;
use ocidir::OciDir;
use ocidir::cap_std::fs::Dir;
use ocidir::oci_spec::image::{self as oci_image, Descriptor, ImageManifest, MediaType, Platform};
use ocidir::prelude::*;

const OCI_TAG_ANNOTATION: &str = "org.opencontainers.image.ref.name";

Expand Down
Loading
Loading