@@ -76,7 +76,7 @@ impl DataStore {
7676 /// `TufRepoDescription` if one was already found. (This is not an upsert,
7777 /// because if we know about an existing repo but with different contents,
7878 /// we reject that.)
79- pub async fn update_tuf_repo_insert (
79+ pub async fn tuf_repo_insert (
8080 & self ,
8181 opctx : & OpContext ,
8282 description : & external:: TufRepoDescription ,
@@ -108,7 +108,7 @@ impl DataStore {
108108 }
109109
110110 /// Returns a TUF repo description.
111- pub async fn update_tuf_repo_get_by_id (
111+ pub async fn tuf_repo_get_by_id (
112112 & self ,
113113 opctx : & OpContext ,
114114 repo_id : TypedUuid < TufRepoKind > ,
@@ -141,7 +141,7 @@ impl DataStore {
141141 }
142142
143143 /// Returns the TUF repo description corresponding to this system version.
144- pub async fn update_tuf_repo_get_by_version (
144+ pub async fn tuf_repo_get_by_version (
145145 & self ,
146146 opctx : & OpContext ,
147147 system_version : SemverVersion ,
@@ -174,7 +174,7 @@ impl DataStore {
174174 }
175175
176176 /// Returns the list of all TUF repo artifacts known to the system.
177- pub async fn update_tuf_artifact_list (
177+ pub async fn tuf_list_repos (
178178 & self ,
179179 opctx : & OpContext ,
180180 generation : Generation ,
@@ -194,7 +194,7 @@ impl DataStore {
194194 }
195195
196196 /// Returns the current TUF repo generation number.
197- pub async fn update_tuf_generation_get (
197+ pub async fn tuf_get_generation (
198198 & self ,
199199 opctx : & OpContext ,
200200 ) -> LookupResult < Generation > {
0 commit comments