Accessor
| Arg | Description | Type |
|---|---|---|
| paths | A list of paths to try to resolve each path. | list of OSPath (required) |
| accessor | File accessor | string |
Merges several paths into a single path.
This accessor allows an overlay of several other paths as possible prefixes. For example consider the following base paths:
Then when attempting to open the file “ls”, this accessor first searches for it in in /bin/ls, then /usr/bin/ls.
The search paths are selected using a scope variable:
LET OVERLAY_ACCESSOR_DELEGATES <= dict(
accessor="file",
paths=["/bin", "/usr/bin"])
SELECT * FROM glob(globs='*', accessor="overlay")