github.com/evanw/esbuild/internal/cache.FSCache.ReadFile (method)
7 uses
github.com/evanw/esbuild/internal/cache (current package)
cache_fs.go#L25: func (c *FSCache) ReadFile(fs fs.FS, path string) (string, error) {
github.com/evanw/esbuild/internal/bundler
bundler.go#L541: contents, err := fsCache.ReadFile(fs, absPath)
bundler.go#L764: fsCache.ReadFile(fs, source.KeyPath.Text) // Read the file for watch mode tracking
bundler.go#L783: fsCache.ReadFile(fs, source.KeyPath.Text) // Read the file for watch mode tracking
bundler.go#L801: if contents, err := fsCache.ReadFile(fs, source.KeyPath.Text); err == nil {
github.com/evanw/esbuild/internal/resolver
resolver.go#L683: contents, err := r.caches.FSCache.ReadFile(r.fs, file)
resolver.go#L896: contents, err := r.caches.FSCache.ReadFile(r.fs, packageJsonPath)
 |
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. |