1 个仓库
Evaluating boolean predicates against filesystem paths to include or exclude items from a set.
Distinct from Predicate-Based Filtering: Distinct from generic array filtering; specifically applies to filesystem paths during traversal.
Explore 1 awesome GitHub repository matching data & databases · Filesystem Path Filtering. Refine with filters or upvote what's useful.
rimraf 是一个 Node.js 递归文件删除工具和跨平台文件系统实用程序。它提供了一个程序化库和一个命令行界面,用于在不同操作系统上删除文件、目录及其包含的所有内容。 该实用程序支持基于 Glob 的文件删除,允许删除匹配特定通配符模式的项目,而不仅仅是字面路径。它还包括在执行过程中中止删除进程以及应用基于谓词的自定义过滤以排除特定文件或文件夹的能力。 该项目涵盖了广泛的文件系统管理功能,包括递归深度优先遍历、跨平台路径规范化和异步 I/O。这些功能支持诸如自动化构建产物清理和常规项目工作空间清理等任务。
Allows using custom boolean functions to selectively exclude specific files or folders from being deleted.