1
0
Fork 0
mirror of synced 2024-06-15 21:51:10 -04:00

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

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