mirror of
1
0
Fork 0

Update link documentation for glob

Added section in README under _Link_ to highlight the limitation of
python `glob()` not matching files that being with '.'.
This commit is contained in:
E. Keys 2020-11-22 13:27:28 -05:00
parent d6694f9653
commit ffba9d3c9b
1 changed files with 7 additions and 0 deletions

View File

@ -236,6 +236,13 @@ Implicit sources:
relink: true
```
#### Limitations of `glob`
Dotbot uses [glob()](https://docs.python.org/3.9/library/glob.html) to resolve
glob paths. However, due to its design, using a glob path such as `config/*` for
example, will not match items that being with `.`. To specifically capture
items that being with `.`, you will need to use a path like this: `config/.*`.
### Create
Create commands specify empty directories to be created. This can be useful