Skip to main content

valid_lfs_oid

Function valid_lfs_oid 

Source
pub fn valid_lfs_oid(oid: &str) -> bool
Expand description

An LFS oid is the lowercase-hex sha256 of the object’s content: 64 hex digits. Validated before use as both a filesystem path component and the cache key.