docs: remove repetitive words (#10370)
Signed-off-by: shuangcui <fliter@qq.com>
shuangcui committed
Mar 19, 2024 at 19:10 UTC
0bdfe9427261580358651ebfeae61db701d7a3ba
5 files changed
+6
-6
core/commands/name/publish.go
+1
-1
@@ -79,7 +79,7 @@ Alternatively, publish an <ipfs-path> using a valid PeerID (as listed by
79
cmds.StringOption(ttlOptionName, "Time duration hint, akin to --lifetime, indicating how long to cache this record before checking for updates.").WithDefault(ipns.DefaultRecordTTL.String()),
80
cmds.BoolOption(quieterOptionName, "Q", "Write only final IPNS Name encoded as CIDv1 (for use in /ipns content paths)."),
81
cmds.BoolOption(v1compatOptionName, "Produce a backward-compatible IPNS Record by including fields for both V1 and V2 signatures.").WithDefault(true),
82
- cmds.BoolOption(allowOfflineOptionName, "When --offline, save the IPNS record to the the local datastore without broadcasting to the network (instead of failing)."),
82
+ cmds.BoolOption(allowOfflineOptionName, "When --offline, save the IPNS record to the local datastore without broadcasting to the network (instead of failing)."),
83
ke.OptionIPNSBase,
84
},
85
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
core/commands/routing.go
+1
-1
@@ -426,7 +426,7 @@ identified by QmFoo.
426
cmds.FileArg("value-file", true, false, "A path to a file containing the value to store.").EnableStdin(),
427
},
428
Options: []cmds.Option{
429
- cmds.BoolOption(allowOfflineOptionName, "When offline, save the IPNS record to the the local datastore without broadcasting to the network instead of simply failing."),
429
+ cmds.BoolOption(allowOfflineOptionName, "When offline, save the IPNS record to the local datastore without broadcasting to the network instead of simply failing."),
430
},
431
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
432
api, err := cmdenv.GetApi(env, req)
docs/changelogs/v0.4.md
+2
-2
@@ -335,7 +335,7 @@ browsers (see [#4143](https://github.com/ipfs/go-ipfs/issues/4143).
335
336
#### Human Readable Numbers
337
338
-The `ipfs bitswap stat` and and `ipfs object stat` commands now support a
338
+The `ipfs bitswap stat` and `ipfs object stat` commands now support a
339
`--humanize` flag that formats numbers with human-readable units (GiB, MiB,
340
etc.).
341
@@ -2114,7 +2114,7 @@ approach:
2114
a local IPFS node).
2115
2116
To fix the security issue, we intend to switch IPFS gateway links
2117
-`https://ipfs.io/ipfs/CID` to to `https://CID.ipfs.dweb.link`. This way, the CID
2117
+`https://ipfs.io/ipfs/CID` to `https://CID.ipfs.dweb.link`. This way, the CID
2118
will be a part of the
2119
["origin"](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin) so
2120
each IPFS website will get a separate security origin.
docs/changelogs/v0.5.md
+1
-1
@@ -993,7 +993,7 @@ As usual, this release contains several Windows specific fixes and improvements:
993
- fix(dagreader): remove a buggy workaround for a gateway issue ([ipfs/go-unixfs#80](https://github.com/ipfs/go-unixfs/pull/80))
994
- fix: correctly handle symlink file sizes ([ipfs/go-unixfs#78](https://github.com/ipfs/go-unixfs/pull/78))
995
- fix: return the correct error from RemoveChild ([ipfs/go-unixfs#76](https://github.com/ipfs/go-unixfs/pull/76))
996
- - update the the last go-merkledag ([ipfs/go-unixfs#75](https://github.com/ipfs/go-unixfs/pull/75))
996
+ - update the last go-merkledag ([ipfs/go-unixfs#75](https://github.com/ipfs/go-unixfs/pull/75))
997
- fix: enumerate children ([ipfs/go-unixfs#74](https://github.com/ipfs/go-unixfs/pull/74))
998
- github.com/ipfs/interface-go-ipfs-core (v0.0.8 -> v0.2.7):
999
- 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))
test/3nodetest/bin/save_profiling_data.sh
+1
-1
@@ -6,7 +6,7 @@ for container in 3nodetest_bootstrap_1 3nodetest_client_1 3nodetest_server_1; do
6
done
7
8
# since the nodes are executed with the --debug flag, profiling data is written
9
-# to the the working dir. by default, the working dir is /go.
9
+# to the working dir. by default, the working dir is /go.
10
11
for container in 3nodetest_bootstrap_1 3nodetest_client_1 3nodetest_server_1; do
12
docker cp $container:/go/ipfs.cpuprof build/profiling_data_$container