1package tinygit23import (4 "github.com/FelineStateMachine/tinyrelay/internal/gitstore"5 "github.com/FelineStateMachine/tinyrelay/internal/policy"6 "github.com/FelineStateMachine/tinyrelay/internal/storage"7)89func tinyStore(store *storage.Store) Store { return gitstore.Wrap(store) }1011func fromInternalPolicy(p policy.Policy) Policy {12 return Policy{Owner: p.Owner, Reads: p.Reads, PrivatePeers: append([]string(nil), p.PrivatePeers...), Features: PolicyFeatures{Grasp: p.Features.Grasp, Grasp02: p.Features.Grasp02, Grasp03: p.Features.Grasp03, Grasp05: p.Features.Grasp05, Grasp06: p.Features.Grasp06, Grasp08: p.Features.Grasp08}}13}