check
verbreadCompare two directories by content and say what differs; changes nothing.
Program anyfs-writer. Origin anyfs.
Governance: the action
What the verb is and may do, as governance says it. Each annotation is expressed by the surfaces or says why it is not.
| Property | Value |
|---|---|
kind | report |
effect | read |
idempotent | true |
audience | both |
tier | reader |
dryRun | false |
check | false |
reachChannels | local, ssh, mcp, rest |
reachReadOnly | true |
reachNeedsTty | false |
reachRunsAs | caller |
reachConfirmation | none |
Operands
| Operand | Meaning |
|---|---|
A | The first directory. |
B | The second directory. |
Options
| Option | Meaning | Properties |
|---|---|---|
--include | Only paths that match a glob (a * is within one name, ** crosses directories); give it again for more. | type=many, required=false, standard=false, humanOnly=false, valueName=GLOB |
--exclude | Leave out paths that match a glob; give it again for more. | type=many, required=false, standard=false, humanOnly=false, valueName=GLOB |
--json | Write one JSON document and nothing else for a person. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--sarif | Write the findings as SARIF 2.1.0 and nothing else. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--quiet | Show only how it ended. | type=flag, short=q, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--verbose | Show every step as it happens. | type=flag, short=v, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--color | Use colour where the terminal shows it (--no-color turns it off). | type=flag, required=false, standard=true, humanOnly=false, negatable=true, default=true |
--non-interactive | Never ask a question: where one is needed, fail and say so. | type=flag, required=false, standard=true, humanOnly=false, negatable=false, default=false |
--on | Run it on these targets instead of here: ids joined by commas, `class:<class>` or `all`. | type=value, required=false, standard=true, humanOnly=false, valueName=VALUE |
Examples
anyfs check ./fleet s3backup:/fleet # Whether the two hold the same files with the same content; nothing is changed.Physical: what it is drawn as
anyfs check
cli-command. Compare two directories by content and say what differs; changes nothing.
| Property | Value |
|---|---|
usage | anyfs check |
words | check |
tier | reader |
anyfs_check
mcp-tool. Compare two directories by content and say what differs; changes nothing. (report, effect read, safe to repeat.)
| Property | Value |
|---|---|
title | anyfs check |
toolName | anyfs_check |
readOnlyHint | true |
destructiveHint | false |
idempotentHint | true |
inputs | include, exclude, A, B |
required | A, B |
tier | reader |
GET /v1/check
rest-route. Compare two directories by content and say what differs; changes nothing.
| Property | Value |
|---|---|
method | GET |
path | /v1/check |
operationId | anyfs_check |
effect | read |
tier | reader |
idempotent | true |