MCPcopy Index your code
hub / github.com/gogs/gogs / DiffNameOnly

Method DiffNameOnly

internal/gitutil/module.go:13–13  ·  view source on GitHub ↗

DiffNameOnly returns a list of changed files between base and head revisions of the repository in given path.

(repoPath, base, head string, opts ...git.DiffNameOnlyOptions)

Source from the content-addressed store, hash-verified

11 // DiffNameOnly returns a list of changed files between base and head revisions
12 // of the repository in given path.
13 DiffNameOnly(repoPath, base, head string, opts ...git.DiffNameOnlyOptions) ([]string, error)
14 // Log returns a list of commits in the state of given revision of the
15 // repository in given path. The returned list is in reverse chronological
16 // order.

Callers 3

PullRequestMetaMethod · 0.65
DiffNameOnlyMethod · 0.65

Implementers 2

MockModuleStoreinternal/gitutil/mocks.go
moduleinternal/gitutil/module.go

Calls

no outgoing calls

Tested by

no test coverage detected