diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-02-12 13:14:55 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-02-14 18:17:07 +0100 |
commit | 53b478d5bb01ed55eec610c5bc7c0984911e72b7 (patch) | |
tree | 2168fe5db77e9824c91be62bd8dbe1b3d7c11839 /share/man/just.1.md | |
parent | 389071f6b48147facf790dbdfe5ae4c073e51c9e (diff) | |
download | justbuild-53b478d5bb01ed55eec610c5bc7c0984911e72b7.tar.gz |
just(1): Document add-to-cas --resolve-special option
Diffstat (limited to 'share/man/just.1.md')
-rw-r--r-- | share/man/just.1.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/share/man/just.1.md b/share/man/just.1.md index 6c5927f0..de59455f 100644 --- a/share/man/just.1.md +++ b/share/man/just.1.md @@ -756,6 +756,20 @@ Resolve the positional argument to not be a symbolic link by following symbolic links. The default is to add the link itself, i.e., the string obtained by **`readlink`**(2), as blob. +**`--resolve-special`** *`TEXT`* +When adding a directory to CAS, resolve any special filesystem entries based on +the strategy denoted by the string value specified. Special entries are all +those which are neither file, executables, or directories. If option is missing +or a non-supported value is provided, the default behavior is used, in which +only non-upwards symlinks are accepted and stored unresolved. +Currently accepted values: + - *`"ignore"`*: all special entries are ignored + - *`"tree-upwards"`*: accept only symlinks with a target path pointing inside + the location directory and resolve the ones that are upwards + - *`"tree-all"`*: accept only symlinks with a target path pointing inside the + location directory and resolve all of them + - *`"all"`*: unconditionally accept and resolve all symlinks + **`traverse`** specific options ------------------------------- |