MCPcopy Create free account
hub / github.com/caoyingjunz/pixiu / Exists

Method Exists

pkg/static/static.go:28–28  ·  view source on GitHub ↗
(prefix string, path string)

Source from the content-addressed store, hash-verified

26type ServeFileSystem interface {
27 http.FileSystem
28 Exists(prefix string, path string) bool
29}
30
31func ServeRoot(urlPrefix, root string) gin.HandlerFunc {

Callers 2

ServeCachedFunction · 0.65
ValidateLoginTokenMethod · 0.65

Implementers 2

TokenCachepkg/client/token_cache.go
localFileSystempkg/static/localfile.go

Calls

no outgoing calls

Tested by

no test coverage detected