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

Method WithByCode

agent/app/repo/file_share.go:19–19  ·  view source on GitHub ↗
(code string)

Source from the content-addressed store, hash-verified

17 All() ([]model.FileShare, error)
18 WithByPath(path string) DBOption
19 WithByCode(code string) DBOption
20}
21
22func NewIFileShareRepo() IFileShareRepo {

Callers 4

generateUniqueCodeMethod · 0.65
GetByCodeMethod · 0.65
GetPublicByCodeMethod · 0.65
checkMethod · 0.65

Implementers 1

FileShareRepoagent/app/repo/file_share.go

Calls

no outgoing calls

Tested by

no test coverage detected