package staticfs
import "github.com/moby/buildkit/util/staticfs"
Index ¶
- type FS
- func NewFS() *FS
- func (fs *FS) Add(p string, stat types.Stat, data []byte)
- func (fs *FS) Open(p string) (io.ReadCloser, error)
- func (fs *FS) Walk(ctx context.Context, fn filepath.WalkFunc) error
- type File
- type MergeFS
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
func NewFS ¶
func NewFS() *FS
func (*FS) Add ¶
func (*FS) Open ¶
func (fs *FS) Open(p string) (io.ReadCloser, error)
func (*FS) Walk ¶
type File ¶
type MergeFS ¶
func NewMergeFS ¶
func (*MergeFS) Open ¶
func (mfs *MergeFS) Open(p string) (io.ReadCloser, error)
func (*MergeFS) Walk ¶
Source Files ¶
- Version
- v0.12.0
- Published
- Jul 12, 2023
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 7 seconds ago –
Tools for package owners.