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
LavaAfterburner edited this page Jun 10, 2019
·
7 revisions
The SafeGuard
The SafeGuard is a class used to avoid dangerous mishaps (e.g. "delete the c drive please"). It's enabled by default.
It protects you from the following operations on folders that are "low level":
Delete
Deleting files
Deleteif files
Collapsing sub folders
Moving the folder
Renaming files
Renaming sub folders
To disable the SafeGuard, add the following code at the beginning of your prorgam:
importflfl.SafeGuard.disable()
Which files are considered "low level":
Folders that are within the depth 7 are considered "low level". That means, any file / folder where the count of folders containing the file / folder is less than or equal to 7