spin_oci

Function is_probably_oci_reference

Source
pub fn is_probably_oci_reference(maybe_oci: &str) -> bool
Expand description

Applies heuristics to check if the given string “looks like” it may be an OCI reference.

This is primarily intended to differentiate OCI references from file paths, which determines the particular heuristics applied.