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 {
5858 Ok ( stream. next ( ) . await . transpose ( ) ?)
5959 }
6060
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 < ( ) > {
6262 trace ! ( "{:?}" , options) ;
63- let info = TagInfo {
64- name : options. name . clone ( ) ,
65- hash : options. value . hash ,
66- format : options. value . format ,
67- } ;
6863 self . client . rpc ( options) . await ??;
69- Ok ( info )
64+ Ok ( ( ) )
7065 }
7166
7267 pub async fn set (
7368 & self ,
7469 name : impl AsRef < [ u8 ] > ,
7570 value : impl Into < HashAndFormat > ,
76- ) -> super :: RequestResult < TagInfo > {
71+ ) -> super :: RequestResult < ( ) > {
7772 self . set_with_opts ( SetOptions {
7873 name : Tag :: from ( name. as_ref ( ) ) ,
7974 value : value. into ( ) ,
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ impl Actor {
409409 options : BatchOptions ,
410410 ) -> anyhow:: Result < Self > {
411411 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) {
413413 Ok ( db) => db,
414414 Err ( DatabaseError :: UpgradeRequired ( 1 ) ) => {
415415 return Err ( anyhow:: anyhow!( "migration from v1 no longer supported" ) ) ;
You can’t perform that action at this time.
0 commit comments