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:
parent
d6694f9653
commit
ffba9d3c9b
|
@ -236,6 +236,13 @@ Implicit sources:
|
||||||
relink: true
|
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
|
||||||
|
|
||||||
Create commands specify empty directories to be created. This can be useful
|
Create commands specify empty directories to be created. This can be useful
|
||||||
|
|
Loading…
Reference in a new issue