mirror of
1
Fork 0

fix: f3: implement the internal references interface

This commit is contained in:
Earl Warren 2025-02-28 18:03:49 +01:00
parent a397602525
commit 9f0147994b
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 5 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func (o *repository) upsert(ctx context.Context) generic.NodeID {
return generic.NewNodeID(o.f.Name)
}
func (o *repository) SetFetchFunc(fetchFunc func(ctx context.Context, destination string)) {
func (o *repository) SetFetchFunc(fetchFunc func(ctx context.Context, destination string, internalRefs []string)) {
o.f.FetchFunc = fetchFunc
}
@ -92,6 +92,10 @@ func (o *repository) GetRepositoryPushURL() string {
return o.getURL()
}
func (o *repository) GetRepositoryInternalRefs() []string {
return []string{}
}
func newRepository(_ context.Context) generic.NodeDriverInterface {
r := &repository{
f: &f3.Repository{},