Skip to main content

Module promote

Module promote 

Source
Expand description

cmd_promote migration. See cli::store for the design pattern.

§Two axes of promotion

  • Horizontal (default): bump the memory’s tier to long. Sets expires_at = "" to clear the inherited tier-default TTL.
  • Vertical (--to-namespace): clone the memory into an ancestor namespace; the original is untouched, the tier is preserved.

Structs§

PromoteArgs

Functions§

cmd_promote
promote handler.