Skip to content

Commit

Permalink
feat(monocore): add OCI image reference implementation (#131)
Browse files Browse the repository at this point in the history
- Enhance Reference struct to handle both tag and digest-based selectors
- Move selector logic from selector.rs into reference.rs
- Improve validation and parsing of OCI image references
- Add comprehensive test coverage for reference parsing and validation
- Remove selector.rs as its functionality is now part of reference.rs
  • Loading branch information
appcypher authored Feb 8, 2025
1 parent bf7faf0 commit 04abab4
Show file tree
Hide file tree
Showing 3 changed files with 660 additions and 333 deletions.
4 changes: 2 additions & 2 deletions monocore/lib/oci/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
mod implementations;
mod pull;
mod selector;
mod reference;

//--------------------------------------------------------------------------------------------------
// Exports
//--------------------------------------------------------------------------------------------------

pub use implementations::*;
pub use pull::*;
pub use selector::*;
pub use reference::*;
Loading

0 comments on commit 04abab4

Please sign in to comment.