github.com/evanw/esbuild/pkg/api.apiHandler.fs (field)

14 uses

	github.com/evanw/esbuild/pkg/api (current package)
		serve_other.go#L34: 	fs               fs.FS
		serve_other.go#L167: 			absPath := h.fs.Join(h.servedir, queryPath)
		serve_other.go#L168: 			if absDir := h.fs.Dir(absPath); absDir != absPath {
		serve_other.go#L169: 				if entries, err := h.fs.ReadDirectory(absDir); err == nil {
		serve_other.go#L170: 					if entry, _ := entries.Get(h.fs.Base(absPath)); entry != nil && entry.Kind(h.fs) == fs.FileEntry {
		serve_other.go#L171: 						if contents, err := h.fs.ReadFile(absPath); err == nil {
		serve_other.go#L188: 			if entries, err := h.fs.ReadDirectory(h.fs.Join(h.servedir, queryPath)); err == nil {
		serve_other.go#L192: 					switch entry.Kind(h.fs) {
		serve_other.go#L222: 			contents, err := h.fs.ReadFile(h.fs.Join(h.servedir, queryPath))
		serve_other.go#L322: 		if relPath, ok := h.fs.Rel(h.options.AbsOutputDir, file.Path); ok {
		serve_other.go#L538: 		fs: realFS,