Skip to content

Operation information for a dvs result

The rows of a dvs_get() result describe each file. This returns what applies to the whole operation.

dvs_result_info(x)
ArgumentDescription
xA result returned by dvs_get(). Anything else raises a dvs_error_argument condition.

A list: command, outcome ("complete", "aborted", "partial" or "failed"), did_as_asked (TRUE unless a file failed or on_conflict = "abort" held files back), dry_run, on_conflict and its source ("argument", "env", "config" for dvs.toml, or "default"), counts (a named list of row counts: total, succeeded for the rows at their target, then one count per action, the same fields as the CLI’s JSON counts), problem (an operation-level message, or NA when there is none) and summary (the summary the CLI prints, with a second line on_conflict = <policy> (<source>) when the policy acted on a file with local changes or no record, or the problem’s message).