github.com/evanw/esbuild/pkg/api.apiHandler.servedir (field)
7 uses
github.com/evanw/esbuild/pkg/api (current package)
serve_other.go#L29: servedir string
serve_other.go#L166: if h.servedir != "" && kind != fs.FileEntry {
serve_other.go#L167: absPath := h.fs.Join(h.servedir, queryPath)
serve_other.go#L187: if h.servedir != "" && kind != fs.FileEntry {
serve_other.go#L188: if entries, err := h.fs.ReadDirectory(h.fs.Join(h.servedir, queryPath)); err == nil {
serve_other.go#L222: contents, err := h.fs.ReadFile(h.fs.Join(h.servedir, queryPath))
serve_other.go#L530: servedir: serveOptions.Servedir,
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |