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

Function IsErrLFSObjectNotExist

internal/database/lfs.go:48–50  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

46}
47
48func IsErrLFSObjectNotExist(err error) bool {
49 return errors.As(err, &ErrLFSObjectNotExist{})
50}
51
52func (err ErrLFSObjectNotExist) Error() string {
53 return fmt.Sprintf("LFS object does not exist: %v", err.args)

Callers 3

serveDownloadMethod · 0.92
serveUploadMethod · 0.92
serveVerifyMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected