mockfs

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSysFSMock

func NewSysFSMock(fsys fs.FS) dir.SysFS

NewSysFSMock returns a SysFS mock of the given FS.

func NewSysFSWithRootMock

func NewSysFSWithRootMock(fsys fs.FS, root string) dir.SysFS

NewSysFSWithRootMock returns a SysFS mock of the given fs and a root directory

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL