diff options
| author | Fuwn <[email protected]> | 2024-10-11 07:36:28 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-11 07:36:28 +0000 |
| commit | 0433ac6aac6011a79a9cae54123e68f2fd92c0d9 (patch) | |
| tree | 08d548e0652c2cc3d24ae260d4bdc872e78b2741 /sources.go | |
| parent | docs(readme): add introduction section (diff) | |
| download | yae-0433ac6aac6011a79a9cae54123e68f2fd92c0d9.tar.xz yae-0433ac6aac6011a79a9cae54123e68f2fd92c0d9.zip | |
feat(yae): git sources and remote git source updater
Diffstat (limited to 'sources.go')
| -rw-r--r-- | sources.go | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -9,9 +9,13 @@ import ( type Sources map[string]Source type Source struct { - URI string `json:"url"` - SHA256 string `json:"sha256"` - Unpack bool `json:"unpack"` + URI string `json:"url"` + SHA256 string `json:"sha256"` + Unpack bool `json:"unpack"` + Type string `json:"type"` + Version string `json:"version,omitempty"` + URITemplate string `json:"uri_template,omitempty"` + TagPredicate string `json:"tag_predicate,omitempty"` } func (s *Sources) EnsureLoaded() error { |