Skip to content

Commit

Permalink
feat: add additional methods to metadata (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF authored Sep 30, 2024
1 parent 919498a commit 70b0ee7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,12 @@ func (m *Metadata) Dependencies() LibraryReferences {
func (m *Metadata) Path() string {
return m.path
}

func (m *Metadata) IsAlzLibraryRef() bool {
_, ok := m.ref.(*AlzLibraryReference)
return ok
}

func (m *Metadata) Ref() LibraryReference {
return m.ref
}

0 comments on commit 70b0ee7

Please sign in to comment.