overlay
Type: Accessor
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:
- /bin/
- /usr/bin/
Then when attempting to open the file “ls”, this accessor first searches for it 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")
| Argument | Type | Description |
|---|---|---|
paths |
list of accessors.OSPath (required) | A list of paths to try to resolve. |
accessor |
string | File accessor |
Platforms: Linux, Windows