[][src]Function nginx_cache_purge::remove_all_files_in_directory

pub fn remove_all_files_in_directory<P: AsRef<Path>>(
    directory: P
) -> Result<(), Error>

Do something like rm -rf /path/to/*. The /path/to directory will not be deleted. This function may be dangerous.