this field is true if this info corresponds to a regular file.
mutually exclusive with respect to isDirectory and isSymlink.
this field is true if this info corresponds to a symbolic-link (symlink).
mutually exclusive with respect to isFile and isDirectory.
specify if a non-empty directory can be deleted recursively. without this option enabled, removing a non-empty folder will throw an error.
optional configuration options for deleting a filesystem entry (file, folder or symlink), used by the removeEntry function.
by explicitly specifying one of
isFile,isDirectory, orisSymlinkfields to be eithertrueorfalse, you can control which _type_s of filesystem-entries to delete, and which _type_s to ignore. the type of the entry is first identified via statEntry (which also tells us if it already exists or not).so, for instance:
config.isFileis set totrue, but thepathcorresponds to either a symlink or a folder, then they will not be deleted.config.isFileis set tofalse, but thepathcorresponds to a file, then the file will not be deleted.config.isFileis set totrue, and thepathcorresponds to a file, then the file will be deleted.config.isFileis set tofalse, and thepathcorresponds to either a symlink or a folder, then that entry will be deleted.