package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Aug 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FS allows to setup isolated fake files structure used for the tests.
Use function creates entire files structure and returns a function to tear it down.
Example usage:
```
rootDir, fakeFsClean, err := defer fs.Use()
if err != nil { ... }
defer fakeFsClean()
````
Source Files
¶
Click to show internal directories.
Click to hide internal directories.