// ReplaceFs replaces the real filesystem by a memory implementation
ReplaceFs replaces the real filesystem by a memory implementation
// ReplaceFs replaces the real filesystem by a memory implementation
func ReplaceFs() func() {
	oldFs := GetFs()
	SetFs(afero.NewMemMapFs())
	return func() {
		SetFs(oldFs)
	}
}
func ReplaceFs ( ) func ( ) { oldFs := GetFs ( ) SetFs ( afero . NewMemMapFs ( ) ) return func ( ) { SetFs ( oldFs ) } }
ReplaceFs replaces the real filesystem by a memory implementation
ReplaceFs replaces the real filesystem by a memory implementation