Skip to content

Commit

Permalink
BlobWriter: Make fields non-public
Browse files Browse the repository at this point in the history
No reason for these to be `pub`.

Signed-off-by: Colin Walters <walters@verbum.org>
  • Loading branch information
cgwalters committed Sep 30, 2024
1 parent bce79bd commit 961c9df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ impl Layer {
/// Create an OCI blob.
pub struct BlobWriter<'a> {
/// Compute checksum
pub hash: Hasher,
hash: Hasher,
/// Target file
pub target: Option<cap_tempfile::TempFile<'a>>,
target: Option<cap_tempfile::TempFile<'a>>,
size: u64,
}

Expand Down

0 comments on commit 961c9df

Please sign in to comment.