MCPcopy Create free account
hub / github.com/libgit2/git2go / SubmoduleCallback

FuncType SubmoduleCallback

submodule.go:113–113  ·  view source on GitHub ↗

SubmoduleCallback is a function that is called for every submodule found in SubmoduleCollection.Foreach.

func(sub *Submodule, name string) error

Source from the content-addressed store, hash-verified

111
112// SubmoduleCallback is a function that is called for every submodule found in SubmoduleCollection.Foreach.
113type SubmoduleCallback func(sub *Submodule, name string) error
114type submoduleCallbackData struct {
115 callback SubmoduleCallback
116 errorTarget *error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…