File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -58,22 +58,17 @@ impl Tags {
58
58
Ok ( stream. next ( ) . await . transpose ( ) ?)
59
59
}
60
60
61
- pub async fn set_with_opts ( & self , options : SetOptions ) -> super :: RequestResult < TagInfo > {
61
+ pub async fn set_with_opts ( & self , options : SetOptions ) -> super :: RequestResult < ( ) > {
62
62
trace ! ( "{:?}" , options) ;
63
- let info = TagInfo {
64
- name : options. name . clone ( ) ,
65
- hash : options. value . hash ,
66
- format : options. value . format ,
67
- } ;
68
63
self . client . rpc ( options) . await ??;
69
- Ok ( info )
64
+ Ok ( ( ) )
70
65
}
71
66
72
67
pub async fn set (
73
68
& self ,
74
69
name : impl AsRef < [ u8 ] > ,
75
70
value : impl Into < HashAndFormat > ,
76
- ) -> super :: RequestResult < TagInfo > {
71
+ ) -> super :: RequestResult < ( ) > {
77
72
self . set_with_opts ( SetOptions {
78
73
name : Tag :: from ( name. as_ref ( ) ) ,
79
74
value : value. into ( ) ,
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ impl Actor {
409
409
options : BatchOptions ,
410
410
) -> anyhow:: Result < Self > {
411
411
debug ! ( "creating or opening meta database at {}" , db_path. display( ) ) ;
412
- let db = match redb:: Database :: create ( & db_path) {
412
+ let db = match redb:: Database :: create ( db_path) {
413
413
Ok ( db) => db,
414
414
Err ( DatabaseError :: UpgradeRequired ( 1 ) ) => {
415
415
return Err ( anyhow:: anyhow!( "migration from v1 no longer supported" ) ) ;
You can’t perform that action at this time.
0 commit comments