Change the approach to the directory-header control so we can set the Argument value in the JSON response. Stripping the trailing newline from the JSON output is annoying, but looking over [1] I saw no easy way to add a newline to the JSON output. And with the general framework that commands/ attempts to be, it feels a bit funny to customize the JSON output for a command-line program. Perhaps a workable solution is to have the command-line client append newlines to any output that otherwise lacks them? But that seems like a change best left to a separate series. [1]: http://golang.org/pkg/encoding/json/ License: MIT Signed-off-by:W. Trevor King <wking@tremily.us>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| internal/incfusever | 正在载入提交数据... | |
| unixfs | 正在载入提交数据... | |
| add.go | 正在载入提交数据... | |
| bitswap.go | 正在载入提交数据... | |
| block.go | 正在载入提交数据... | |
| bootstrap.go | 正在载入提交数据... | |
| cat.go | 正在载入提交数据... | |
| commands.go | 正在载入提交数据... | |
| config.go | 正在载入提交数据... | |
| dht.go | 正在载入提交数据... | |
| diag.go | 正在载入提交数据... | |
| diag_test.go | 正在载入提交数据... | |
| dns.go | 正在载入提交数据... | |
| get.go | 正在载入提交数据... | |
| id.go | 正在载入提交数据... | |
| ipns.go | 正在载入提交数据... | |
| log.go | 正在载入提交数据... | |
| ls.go | 正在载入提交数据... | |
| mount_darwin.go | 正在载入提交数据... | |
| mount_nofuse.go | 正在载入提交数据... | |
| mount_unix.go | 正在载入提交数据... | |
| mount_windows.go | 正在载入提交数据... | |
| name.go | 正在载入提交数据... | |
| object.go | 正在载入提交数据... | |
| pin.go | 正在载入提交数据... | |
| ping.go | 正在载入提交数据... | |
| publish.go | 正在载入提交数据... | |
| refs.go | 正在载入提交数据... | |
| repo.go | 正在载入提交数据... | |
| resolve.go | 正在载入提交数据... | |
| root.go | 正在载入提交数据... | |
| stat.go | 正在载入提交数据... | |
| swarm.go | 正在载入提交数据... | |
| tour.go | 正在载入提交数据... | |
| tour_test.go | 正在载入提交数据... | |
| update.go | 正在载入提交数据... | |
| version.go | 正在载入提交数据... |