MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / GetFirst

Method GetFirst

agent/app/repo/favorite.go:15–15  ·  view source on GitHub ↗
(opts ...DBOption)

Source from the content-addressed store, hash-verified

13 Create(group *model.Favorite) error
14 Delete(opts ...DBOption) error
15 GetFirst(opts ...DBOption) (model.Favorite, error)
16 All() ([]model.Favorite, error)
17 WithByPath(path string) DBOption
18}

Callers 2

NewFileInfoFunction · 0.95
processFilesMethod · 0.95

Implementers 2

FileShareRepoagent/app/repo/file_share.go
FavoriteRepoagent/app/repo/favorite.go

Calls

no outgoing calls

Tested by

no test coverage detected