MCPcopy
hub / github.com/go-git/go-git / Update

Method Update

submodule.go:365–367  ·  view source on GitHub ↗

Update updates all the submodules in this list.

(o *SubmoduleUpdateOptions)

Source from the content-addressed store, hash-verified

363
364// Update updates all the submodules in this list.
365func (s Submodules) Update(o *SubmoduleUpdateOptions) error {
366 return s.UpdateContext(context.Background(), o)
367}
368
369// UpdateContext updates all the submodules in this list.
370//

Callers

nothing calls this directly

Calls 1

UpdateContextMethod · 0.95

Tested by

no test coverage detected