add command to save the default transformer configurations to local files

This commit is contained in:
Jingfang Liu
2018-09-28 15:30:58 -07:00
parent ffffbedf41
commit 94c3b1212e
7 changed files with 225 additions and 0 deletions

View File

@@ -48,6 +48,11 @@ func (fs *FakeFS) Mkdir(name string) error {
return nil
}
// MkdirAll delegates to Mkdir
func (fs *FakeFS) MkdirAll(name string) error {
return fs.Mkdir(name)
}
// Open returns a fake file in the open state.
func (fs *FakeFS) Open(name string) (File, error) {
if _, found := fs.m[name]; !found {