Documentation ¶ Index ¶ type Memory func New(fileContents map[string][]byte) (*Memory, error) func (memory *Memory) Get(ctx context.Context, path string) ([]byte, error) func (memory *Memory) ReadDir(ctx context.Context, path string) ([]string, error) func (memory *Memory) Stat(ctx context.Context, path string) (*fs.FileInfo, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Memory ¶ type Memory struct { // contains filtered or unexported fields } func New ¶ func New(fileContents map[string][]byte) (*Memory, error) func (*Memory) Get ¶ func (memory *Memory) Get(ctx context.Context, path string) ([]byte, error) func (*Memory) ReadDir ¶ func (memory *Memory) ReadDir(ctx context.Context, path string) ([]string, error) func (*Memory) Stat ¶ func (memory *Memory) Stat(ctx context.Context, path string) (*fs.FileInfo, error) Source Files ¶ View all Source files memory.go Click to show internal directories. Click to hide internal directories.