You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would have been nice if DummyFS also had the capability of, not only doing nothing but instead just printing to console the operation name (Remove, Rename, etc.) and its main parameter. This could be outputted to the console, or log, or via a user-defined callback (more flexible). For example
// An instance of Dummy Filesystem which returns no error instead of error on everythingdummyFS:=dummy.Create(nil)
// call dummy filesystem operationdummyFS.RemoveAll("/usr/share")
Which wouldn't cause an error and instead output this somewhere:
⚡ os.RemoveAll /usr/share/
This would be more useful than for doing dry runs.
The text was updated successfully, but these errors were encountered:
Would have been nice if DummyFS also had the capability of, not only doing nothing but instead just printing to console the operation name (Remove, Rename, etc.) and its main parameter. This could be outputted to the console, or log, or via a user-defined callback (more flexible). For example
Which wouldn't cause an error and instead output this somewhere:
This would be more useful than for doing dry runs.
The text was updated successfully, but these errors were encountered: