MCPcopy
hub / github.com/cortesi/devd / filesystemEndpoint

Struct filesystemEndpoint

route.go:53–56  ·  view source on GitHub ↗

An enpoint that serves a filesystem location

Source from the content-addressed store, hash-verified

51
52// An enpoint that serves a filesystem location
53type filesystemEndpoint struct {
54 Root string
55 notFoundRoutes []routespec.RouteSpec
56}
57
58func newFilesystemEndpoint(path string, notfound []string) (*filesystemEndpoint, error) {
59 rparts := []routespec.RouteSpec{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected