From 93e8e18ca6c76edfbd90c18038f4765372e0dbdd Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 23 Dec 2014 00:59:29 +0300 Subject: [PATCH] Document lock order acquisition. #116 [ci skip] --- api/api.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/api.go b/api/api.go index 0dc2d89f..a4d4be16 100644 --- a/api/api.go +++ b/api/api.go @@ -1,2 +1,8 @@ // Package api provides implementation of aptly REST API package api + +// Lock order acquisition (canonical): +// 1. RemoteRepoCollection +// 2. LocalRepoCollection +// 3. SnapshotCollection +// 4. PublishedRepoCollection