fix: f3: implement the internal references interface
This commit is contained in:
parent
a397602525
commit
9f0147994b
|
@ -71,7 +71,7 @@ func (o *repository) upsert(ctx context.Context) generic.NodeID {
|
||||||
return generic.NewNodeID(o.f.Name)
|
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
|
o.f.FetchFunc = fetchFunc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,6 +92,10 @@ func (o *repository) GetRepositoryPushURL() string {
|
||||||
return o.getURL()
|
return o.getURL()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (o *repository) GetRepositoryInternalRefs() []string {
|
||||||
|
return []string{}
|
||||||
|
}
|
||||||
|
|
||||||
func newRepository(_ context.Context) generic.NodeDriverInterface {
|
func newRepository(_ context.Context) generic.NodeDriverInterface {
|
||||||
r := &repository{
|
r := &repository{
|
||||||
f: &f3.Repository{},
|
f: &f3.Repository{},
|
||||||
|
|
Loading…
Reference in New Issue