mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
feat(referrers): added index support for referrers queries (#1560)
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
@@ -58,6 +58,10 @@ func GetManifestArtifactType(manifestContent ispec.Manifest) string {
|
||||
return manifestContent.Config.MediaType
|
||||
}
|
||||
|
||||
func GetIndexArtifactType(indexContent ispec.Index) string {
|
||||
return indexContent.ArtifactType
|
||||
}
|
||||
|
||||
// GetImageLastUpdated This method will return last updated timestamp.
|
||||
// The Created timestamp is used, but if it is missing, look at the
|
||||
// history field and, if provided, return the timestamp of last entry in history.
|
||||
|
||||
Reference in New Issue
Block a user