MCPcopy Create free account
hub / github.com/entireio/git-sync / newSyncCmd

Function newSyncCmd

cmd/git-sync/syncplan.go:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11)
12
13func newSyncCmd() *cobra.Command {
14 return newSyncLikeCmd("sync", "Mirror refs and objects from source to target", false, gitsync.ModeSync)
15}
16
17func newReplicateCmd() *cobra.Command {
18 return newSyncLikeCmd("replicate", "Fast-forward-only mirror from source to target", false, gitsync.ModeReplicate)

Callers 1

newRootCmdFunction · 0.85

Calls 1

newSyncLikeCmdFunction · 0.85

Tested by

no test coverage detected