MCPcopy Create free account
hub / github.com/gogs/gogs / Len

Method Len

internal/database/login_source_files.go:28–28  ·  view source on GitHub ↗

Len returns number of login sources.

()

Source from the content-addressed store, hash-verified

26 GetByID(id int64) (*LoginSource, error)
27 // Len returns number of login sources.
28 Len() int
29 // List returns a list of login sources filtered by options.
30 List(opts ListLoginSourceOptions) []*LoginSource
31 // Update updates in-memory copy of the authentication source.

Callers 15

actionsCommitRepoFunction · 0.65
actionsMergePullRequestFunction · 0.65
actionsMirrorSyncCreateFunction · 0.65
actionsMirrorSyncDeleteFunction · 0.65
actionsMirrorSyncPushFunction · 0.65
actionsNewRepoFunction · 0.65
actionsPushTagFunction · 0.65
actionsRenameRepoFunction · 0.65
actionsTransferRepoFunction · 0.65
CountMethod · 0.65
noticesListFunction · 0.65
prepareRepoCommitFunction · 0.65

Implementers 2

MockLoginSourceFilesStoreinternal/database/mocks_test.go
loginSourceFilesinternal/database/login_source_files.g

Calls

no outgoing calls

Tested by 15

actionsCommitRepoFunction · 0.52
actionsMergePullRequestFunction · 0.52
actionsMirrorSyncCreateFunction · 0.52
actionsMirrorSyncDeleteFunction · 0.52
actionsMirrorSyncPushFunction · 0.52
actionsNewRepoFunction · 0.52
actionsPushTagFunction · 0.52
actionsRenameRepoFunction · 0.52
actionsTransferRepoFunction · 0.52
noticesListFunction · 0.52
usersDeleteInactivatedFunction · 0.52
usersListFunction · 0.52