managed_dir
managed_dir
#
ManagedDir — an opaque directory value a recipe holds whole; analysis-only.
ManagedDir
#
Bases: DirScalar
A directory a recipe holds without describing its contents; its value is the path.
Analysis-only: never part of a procedure or target schema, no platform mirror.
work = cg.ManagedDir.new()
work.stage(image, "images/0.jpg")
work.exec(["colmap", "automatic_reconstructor", "--workspace_path", "."])
return work / "sparse"