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 {
868
868
return retrieveString ("diag/cmds/clear" );
869
869
}
870
870
871
+ public String profile () throws IOException {
872
+ return retrieveString ("diag/profile" );
873
+ }
874
+
871
875
public Map sys () throws IOException {
872
876
return retrieveMap ("diag/sys?stream-channels=true" );
873
877
}
Original file line number Diff line number Diff line change @@ -863,6 +863,7 @@ public void diagTest() throws IOException {
863
863
List <Map > cmds = ipfs .diag .cmds (true );
864
864
String res = ipfs .diag .clearCmds ();
865
865
List <Map > cmds2 = ipfs .diag .cmds (true );
866
+ //res = ipfs.diag.profile();
866
867
//String profile = "default";
867
868
//ipfs.config.profileApply(profile, true);
868
869
//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