idk-plans

Scan

module

● 100% (2/2)

Finds the Markdown files that the configuration includes, and skips the files that it excludes.

Scan finds the files to read. It always skips folders that start with a dot, such as .git and editor settings.

How it works

src/scan.js walks the project folder. It matches each path against include and exclude with picomatch. It returns sorted paths with forward slashes, so the output is the same on every system.

Tasks

  • Match include and exclude patterns
  • Skip dot folders

Linked from