plan_content_ingest

SolidGroundUX DocumentationSolidGroundUX
NL

fn: plan_content_ingest

Purpose

Preview destination paths and collisions without modifying content.

Signature

def plan_content_ingest(source: str | Path, content: str | Path, policy: str='abort') -> ContentCommitPlan:

Usage

# Preview potential destination collisions without making changes.
plan = plan_content_ingest(source, content, policy="abort")