HomeSoftware Heritage

Add `open`/`close` methods to both `ProvenanceInterface` and…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Add open/close methods to both ProvenanceInterface and ProvenanceStorageInterface

This allows to have an explicit mechanism to allocate/release resources when needed.
The necessary methods for the classes implementing these interfaces to be turned in contexts
managers are added as well (ie. __enter__/__exit__).

Details

Provenance
aevisoAuthored on Sep 24 2021, 11:08 AM
aevisoPushed on Oct 5 2021, 12:05 PM
Differential Revision
D6334: Add `close` method to both `ProvenanceInterface` and `ProvenanceStorageInterface`
Build Status
Buildable 24218
Build 37799: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.