Getting started
Basic usage
Validation
Advanced usage
API
License
Remove unrequired directories and files in target directory.
target_dir (str) – Path of target directory.
required_dirnames (list[str]) – Paths that are to be preserved in target directory.