HomeSoftware Heritage

Split Storage.snapshot_add (add the snapshot + update the origin_visit)
742dd4fa8958Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Split Storage.snapshot_add (add the snapshot + update the origin_visit)

snapshot_add(origin, visit, snap) becomes snapshot_add(origin) +
origin_visit_update(origin, visit, snapshot_id=snap['id'])