mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
parseOpts now does some preliminary path screening to prevent command sequences like `ipfs <hash> cat` from succeeding. The tests affected by this have been slightly altered, but should be restored once parseOpts is decoupled from path analysis. Command suggestion printing has also been factored into a single function. Fixes: #2501 License: MIT Signed-off-by: Thomas Gardner <tmg@fastmail.com> |
||
|---|---|---|
| .. | ||
| commands | ||
| corehttp | ||
| corenet | ||
| corerepo | ||
| corerouting | ||
| coreunix | ||
| mock | ||
| .gitignore | ||
| bootstrap_test.go | ||
| bootstrap.go | ||
| builder.go | ||
| core_test.go | ||
| core.go | ||
| pathresolver_test.go | ||
| pathresolver.go | ||