pub async fn release_blob(
conn: &mut PgConnection,
vault: &Vault,
sha256: &str,
grace: Duration,
) -> AppResult<Release>Expand description
Removes one blob if nothing in the database refers to it – as seen by
conn, so a caller can delete the last referring row in the same
transaction first – and it is older than grace.