mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
docs: remove repetitive words (#10370)
Signed-off-by: shuangcui <fliter@qq.com>
This commit is contained in:
parent
5af3cc1c02
commit
0bdfe94272
@ -79,7 +79,7 @@ Alternatively, publish an <ipfs-path> using a valid PeerID (as listed by
|
||||
cmds.StringOption(ttlOptionName, "Time duration hint, akin to --lifetime, indicating how long to cache this record before checking for updates.").WithDefault(ipns.DefaultRecordTTL.String()),
|
||||
cmds.BoolOption(quieterOptionName, "Q", "Write only final IPNS Name encoded as CIDv1 (for use in /ipns content paths)."),
|
||||
cmds.BoolOption(v1compatOptionName, "Produce a backward-compatible IPNS Record by including fields for both V1 and V2 signatures.").WithDefault(true),
|
||||
cmds.BoolOption(allowOfflineOptionName, "When --offline, save the IPNS record to the the local datastore without broadcasting to the network (instead of failing)."),
|
||||
cmds.BoolOption(allowOfflineOptionName, "When --offline, save the IPNS record to the local datastore without broadcasting to the network (instead of failing)."),
|
||||
ke.OptionIPNSBase,
|
||||
},
|
||||
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
|
||||
|
||||
@ -426,7 +426,7 @@ identified by QmFoo.
|
||||
cmds.FileArg("value-file", true, false, "A path to a file containing the value to store.").EnableStdin(),
|
||||
},
|
||||
Options: []cmds.Option{
|
||||
cmds.BoolOption(allowOfflineOptionName, "When offline, save the IPNS record to the the local datastore without broadcasting to the network instead of simply failing."),
|
||||
cmds.BoolOption(allowOfflineOptionName, "When offline, save the IPNS record to the local datastore without broadcasting to the network instead of simply failing."),
|
||||
},
|
||||
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
|
||||
api, err := cmdenv.GetApi(env, req)
|
||||
|
||||
@ -335,7 +335,7 @@ browsers (see [#4143](https://github.com/ipfs/go-ipfs/issues/4143).
|
||||
|
||||
#### Human Readable Numbers
|
||||
|
||||
The `ipfs bitswap stat` and and `ipfs object stat` commands now support a
|
||||
The `ipfs bitswap stat` and `ipfs object stat` commands now support a
|
||||
`--humanize` flag that formats numbers with human-readable units (GiB, MiB,
|
||||
etc.).
|
||||
|
||||
@ -2114,7 +2114,7 @@ approach:
|
||||
a local IPFS node).
|
||||
|
||||
To fix the security issue, we intend to switch IPFS gateway links
|
||||
`https://ipfs.io/ipfs/CID` to to `https://CID.ipfs.dweb.link`. This way, the CID
|
||||
`https://ipfs.io/ipfs/CID` to `https://CID.ipfs.dweb.link`. This way, the CID
|
||||
will be a part of the
|
||||
["origin"](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin) so
|
||||
each IPFS website will get a separate security origin.
|
||||
|
||||
@ -993,7 +993,7 @@ As usual, this release contains several Windows specific fixes and improvements:
|
||||
- fix(dagreader): remove a buggy workaround for a gateway issue ([ipfs/go-unixfs#80](https://github.com/ipfs/go-unixfs/pull/80))
|
||||
- fix: correctly handle symlink file sizes ([ipfs/go-unixfs#78](https://github.com/ipfs/go-unixfs/pull/78))
|
||||
- fix: return the correct error from RemoveChild ([ipfs/go-unixfs#76](https://github.com/ipfs/go-unixfs/pull/76))
|
||||
- update the the last go-merkledag ([ipfs/go-unixfs#75](https://github.com/ipfs/go-unixfs/pull/75))
|
||||
- update the last go-merkledag ([ipfs/go-unixfs#75](https://github.com/ipfs/go-unixfs/pull/75))
|
||||
- fix: enumerate children ([ipfs/go-unixfs#74](https://github.com/ipfs/go-unixfs/pull/74))
|
||||
- github.com/ipfs/interface-go-ipfs-core (v0.0.8 -> v0.2.7):
|
||||
- Add pin ls tests for indirect pin traversal and pin type precedence ([ipfs/interface-go-ipfs-core#47](https://github.com/ipfs/interface-go-ipfs-core/pull/47))
|
||||
|
||||
@ -6,7 +6,7 @@ for container in 3nodetest_bootstrap_1 3nodetest_client_1 3nodetest_server_1; do
|
||||
done
|
||||
|
||||
# since the nodes are executed with the --debug flag, profiling data is written
|
||||
# to the the working dir. by default, the working dir is /go.
|
||||
# to the working dir. by default, the working dir is /go.
|
||||
|
||||
for container in 3nodetest_bootstrap_1 3nodetest_client_1 3nodetest_server_1; do
|
||||
docker cp $container:/go/ipfs.cpuprof build/profiling_data_$container
|
||||
|
||||
Loading…
Reference in New Issue
Block a user