MCPcopy Create free account
hub / github.com/go-git/go-git / Update

Method Update

submodule.go:299–301  ·  view source on GitHub ↗

Update updates all the submodules in this list.

(o *SubmoduleUpdateOptions)

Source from the content-addressed store, hash-verified

297
298// Update updates all the submodules in this list.
299func (s Submodules) Update(o *SubmoduleUpdateOptions) error {
300 return s.UpdateContext(context.Background(), o)
301}
302
303// UpdateContext updates all the submodules in this list.
304//

Callers

nothing calls this directly

Calls 1

UpdateContextMethod · 0.95

Tested by

no test coverage detected