Skip to main content

Crate ai6_safehouse_copy

Crate ai6_safehouse_copy 

Source
Expand description

ai6-safehouse-copy: the copy safe-house provider. Each Mission gets a plain copy of the source directory and the copy is always kept. There is no history, so the provider reports none and a cover check says the work is not checkable.

§ai6-safehouse-copy

Version Rust version License: MPL-2.0 Docs CI

The copy safe-house provider for AI6: each Mission works in a plain copy of the Operation’s directory, with no version control needed. It keeps no history, so a Mission’s cover report says its commits were not checkable rather than passing them. The copy is always kept when the Mission ends. See the API header.

§Features

  • A copy per Mission under AI6’s state directory, never inside the source.
  • Works for any directory: no Git, no other tool on the PATH.
  • Proves the safe-house contract with a provider that has no history.

§Installation

Part of the AI6 workspace; built with it:

cargo build -p ai6 --features cli -p ai6-safehouse-copy

§Quick start

[operation.G]
path = "~/work/notes"
workspace = { provider = "copy" }

§Development

cargo test -p ai6-safehouse-copy
cargo clippy -p ai6-safehouse-copy --all-targets -- -D warnings

§License

MPL-2.0. See LICENSE.

Structs§

Copier
Makes a Mission’s workspace as a plain copy of the source directory.
CopyConfig
copy provider configuration; every field has a default.

Statics§

guatiao_declares
What this library declares, read by a scanner as data.

Functions§

guatiao_library_entry⚠
The symbol a guatiao host loads this library by.