summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:38:52 -0500
committerFerris Tseng <ferristseng@fastmail.fm>2018-01-23 18:38:52 -0500
commitbd45824f9efaadbc52d95f42cd47841fc741400c (patch)
treee91a5be65cf34200f1146c11b275cb3a314f656d
parentd0d091965cc298a3789639e2d1239bdcf77cdde8 (diff)
add todos
-rw-r--r--ipfs-api/src/client.rs64
1 files changed, 64 insertions, 0 deletions
diff --git a/ipfs-api/src/client.rs b/ipfs-api/src/client.rs
index 64faed0..ba48ff3 100644
--- a/ipfs-api/src/client.rs
+++ b/ipfs-api/src/client.rs
@@ -362,6 +362,8 @@ impl IpfsClient {
self.request(&request::BitswapLedger { peer }, None)
}
+ // TODO /bitswap/reprovide
+
/// Returns some stats about the bitswap agent.
///
/// # Examples
@@ -766,6 +768,8 @@ impl IpfsClient {
// self.request(&request::DagPut, Some(form))
// }
+ // TODO /dag/resolve
+
/// Query the DHT for all of the multiaddresses associated with a Peer ID.
///
/// ```no_run
@@ -1551,6 +1555,14 @@ impl IpfsClient {
self.request(&request::Ls { path }, None)
}
+ // TODO /mount
+
+ // TODO /name/publish
+
+ // TODO /name/resolve
+
+ // TODO /object/data
+
/// Returns the diff of two Ipfs objects.
///
/// ```no_run
@@ -1620,6 +1632,18 @@ impl IpfsClient {
self.request(&request::ObjectLinks { key }, None)
}
+ // TODO /object/new
+
+ // TODO /object/patch/add-link
+
+ // TODO /object/patch/append-data
+
+ // TODO /object/patch/rm-link
+
+ // TODO /object/patch/set-data
+
+ // TODO /object/put
+
/// Returns the stats for an object.
///
/// ```no_run
@@ -1641,6 +1665,18 @@ impl IpfsClient {
self.request(&request::ObjectStat { key }, None)
}
+ // TODO /p2p/listener/close
+
+ // TODO /p2p/listener/ls
+
+ // TODO /p2p/listener/open
+
+ // TODO /p2p/stream/close
+
+ // TODO /p2p/stream/dial
+
+ // TODO /p2p/stream/ls
+
/// Pins a new object.
///
/// The "recursive" option tells the server whether to
@@ -1732,6 +1768,10 @@ impl IpfsClient {
self.request(&request::PinRm { key, recursive }, None)
}
+ // TODO /pin/update
+
+ // TODO /pin/verify
+
/// Pings a peer.
///
/// ```no_run
@@ -1876,6 +1916,20 @@ impl IpfsClient {
self.request_stream_json(&request::RefsLocal, None)
}
+ // TODO /repo/fsck
+
+ // TODO /repo/gc
+
+ // TODO /repo/stat
+
+ // TODO /repo/verify
+
+ // TODO /repo/version
+
+ // TODO /resolve
+
+ // TODO /shutdown
+
/// Returns bitswap stats.
///
/// ```no_run
@@ -1939,6 +1993,8 @@ impl IpfsClient {
self.request(&request::StatsRepo, None)
}
+ // TODO /swarm/addrs/listen
+
/// Return a list of local addresses.
///
/// ```no_run
@@ -1960,6 +2016,14 @@ impl IpfsClient {
self.request(&request::SwarmAddrsLocal, None)
}
+ // TODO /swarm/connect
+
+ // TODO /swarm/disconnect
+
+ // TODO /swarm/filters/add
+
+ // TODO /swarm/filters/rm
+
/// Return a list of peers with open connections.
///
/// ```no_run