File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -868,6 +868,10 @@ public String clearCmds() throws IOException {
868868 return retrieveString ("diag/cmds/clear" );
869869 }
870870
871+ public String profile () throws IOException {
872+ return retrieveString ("diag/profile" );
873+ }
874+
871875 public Map sys () throws IOException {
872876 return retrieveMap ("diag/sys?stream-channels=true" );
873877 }
Original file line number Diff line number Diff line change @@ -863,6 +863,7 @@ public void diagTest() throws IOException {
863863 List <Map > cmds = ipfs .diag .cmds (true );
864864 String res = ipfs .diag .clearCmds ();
865865 List <Map > cmds2 = ipfs .diag .cmds (true );
866+ //res = ipfs.diag.profile();
866867 //String profile = "default";
867868 //ipfs.config.profileApply(profile, true);
868869 //Map entry = ipfs.config("Addresses.API", Optional.of("/ip4/127.0.0.1/tcp/5001"), Optional.empty());
You can’t perform that action at this time.
0 commit comments