File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -144,15 +144,13 @@ impl Blobs {
144144 /// clears the protections before.
145145 ///
146146 /// Users should rely only on garbage collection for blob deletion.
147- #[ cfg( feature = "fs-store" ) ]
148147 pub ( crate ) async fn delete_with_opts ( & self , options : DeleteOptions ) -> RequestResult < ( ) > {
149148 trace ! ( "{options:?}" ) ;
150149 self . client . rpc ( options) . await ??;
151150 Ok ( ( ) )
152151 }
153152
154153 /// See [`Self::delete_with_opts`].
155- #[ cfg( feature = "fs-store" ) ]
156154 pub ( crate ) async fn delete (
157155 & self ,
158156 hashes : impl IntoIterator < Item = impl Into < Hash > > ,
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ mod tests {
294294 store. tags ( ) . set ( "fg" , * fghs. hash_and_format ( ) ) . await ?;
295295 drop ( fghs) ;
296296 drop ( bt) ;
297- store. tags ( ) . delete ( ht . name ) . await ?;
297+ store. tags ( ) . delete ( "h" ) . await ?;
298298 let mut live = HashSet :: new ( ) ;
299299 gc_run_once ( store, & mut live) . await ?;
300300 // a is protected because we keep the temp tag
@@ -372,6 +372,7 @@ mod tests {
372372 }
373373
374374 #[ tokio:: test]
375+ #[ cfg( feature = "fs-store" ) ]
375376 async fn gc_smoke_fs ( ) -> TestResult {
376377 tracing_subscriber:: fmt:: try_init ( ) . ok ( ) ;
377378 let testdir = tempfile:: tempdir ( ) ?;
@@ -391,6 +392,7 @@ mod tests {
391392 }
392393
393394 #[ tokio:: test]
395+ #[ cfg( feature = "fs-store" ) ]
394396 async fn gc_check_deletion_fs ( ) -> TestResult {
395397 tracing_subscriber:: fmt:: try_init ( ) . ok ( ) ;
396398 let testdir = tempfile:: tempdir ( ) ?;
You can’t perform that action at this time.
0 commit comments