(ctx context.Context, bc blobcache.Service, u blobcache.URL)
| 55 | } |
| 56 | |
| 57 | func OpenRemoteHelper(ctx context.Context, bc blobcache.Service, u blobcache.URL) (*Remote, error) { |
| 58 | volh, err := bcsdk.OpenURL(ctx, bc, u) |
| 59 | if err != nil { |
| 60 | return nil, err |
| 61 | } |
| 62 | return NewRemote(bc, *volh), nil |
| 63 | } |
| 64 | |
| 65 | // SyncGit copies the transitive closure of the git object `id` from src to dst. |
| 66 | func SyncGit(ctx context.Context, src bcsdk.RO, dst bcsdk.WO, id blobcache.CID) error { |