1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

21 Commits

Author SHA1 Message Date
be41444a9e provide simple wrapper methods for AllKeysRange
@jbenet @whyrusleeping

was the 1<<16 intentional? replaced the raw methods with wrappers.
2015-01-24 01:32:28 -08:00
7b4de230eb commands: Refactored Command#Run function signature to (req Request, res Response) 2015-01-23 18:29:29 -08:00
86bb8ca7a7 core/commands: Enabled stdin for various command arguments 2015-01-13 22:51:11 -08:00
374a75b612 refs: tie the contexts together 2015-01-11 20:52:33 -08:00
92e8a7bcd5 updated datastore for proper query handling
Queries now can be cancelled and the resources collected
2015-01-11 20:52:33 -08:00
708e47fcbc ipfs blocks local command
ipfs blocks local returns _all_ local refs. For now this is one
long op. future commits will make it async.
2015-01-11 16:59:22 -08:00
d1bff333a5 refs: log writer error 2015-01-07 13:49:13 -08:00
180b9b32d3 refs: added --format option 2015-01-07 13:42:06 -08:00
f46120b194 refs edges + stream fix 2015-01-07 12:56:14 -08:00
6236ef7fdb core/commands: Made add command output a channel
core/commands: Don't use pointers for Type field
2015-01-06 15:55:16 -08:00
fd40702f73 commands: Changed Marshaler to return a io.Reader instead of a []byte
core/commands: Refactored command marshalers
2015-01-06 15:53:42 -08:00
65c6bd07bf feat(core/commands): expose commands to allow for the development of high-level interface
+ style: sort command list

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 20:56:26 -08:00
4c1a5f6816 core/commands: Restored 'pin'/'refs' option names 2014-11-19 00:36:30 -08:00
db53de806c core/commands: Made 'refs' output u.Keys instead of strings 2014-11-18 23:20:20 -08:00
477c246c6c core/commands: Fixed 'refs' option name collision 2014-11-18 23:09:53 -08:00
edb8eeaecf core/commands: Created a general key list output type and plaintext marshaler 2014-11-18 23:08:56 -08:00
5aaa45db9a transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
ad3f3e003f removed old commands files
https://www.youtube.com/watch?v=kyFyAqLtHq8
2014-11-18 06:15:00 -08:00
184c25430b go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
98d9df544f remove utils.PErr() 2014-10-15 13:17:04 +02:00
9e4b8586a9 Add config flag to cmd line interface 2014-09-17 02:49:36 +00:00