Pair files for quick diffing.
pair-diff.patterns
An array for patterns to match files in pairs. For example:
{
"pair-diff.patterns": [
{
"source": "./test/*/input.ts",
"target": "<dir>/output.ts"
},
{
"source": "./test/input/*.*",
"target": "<dir>/../output/<basename>"
}
]
}
The source
option supports glob patterns, and the target
option supports the following placeholders:
<dir>
/ <dirname>
: the directory of the source file<base>
/ <basename>
: the filename of the source file, with extension<name>
: the basename of the source file without extension<ext>
: the extension name of the source fileMIT License © 2022 Anthony Fu