# Functions
Copy copies src to dst like the cp command.
DirSize returns the accumulated size of all files in folder.
Check if a file or directory exists.
IsDir check if the path is a dir.
MkdirAll directory and all parents if not existing.
TempDir creates a temp dir in the virtual fs Took from afero.FS code and adapted.
TempFile creates a temp file in the virtual fs Took from afero.FS code and adapted.
WalkDirFs is the same as filepath.WalkDir but accepts a v1.Fs so it can be run on any v1.Fs type.