Skip to main content

Module reorganize

Module reorganize 

Source
Expand description

Reorganise the library: derive a clean, browsable on-disk layout from container metadata. Containers are content-addressed (<doc_id>.hmc), which is great for dedup but unreadable for a human. This produces a parallel, human-facing tree organised by topic/tag with descriptive filenames, while the content-addressed store stays the source of truth.

Default operation is copy (non-destructive). Moving is opt-in.

Structs§

PlacementOp
A single planned placement.

Enums§

ApplyMode

Functions§

apply
Execute a plan. Returns the number of placements performed.
plan
Build a placement plan rooting an organised tree at out_root. <out_root>/<category>/<safe_title>__<id8>.hmc.