提交 e043d515 作者: Steven Allen

CHANGELOG: note which commands the offline flag doesn't yet support

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 eb339491
...@@ -18,10 +18,10 @@ TODO: WRITE THIS ...@@ -18,10 +18,10 @@ TODO: WRITE THIS
There are two new "offline" features in this release: a global `--offline` flag There are two new "offline" features in this release: a global `--offline` flag
and an option to configure the gateway to not fetch files. and an option to configure the gateway to not fetch files.
All go-ipfs commands now support the `--offline` flag. This causes IPFS to avoid Most go-ipfs commands now support the `--offline` flag. This causes IPFS to avoid
network operations when performing the requested operation. If you've ever used network operations when performing the requested operation. If you've ever used
the `--local` flag, the `--offline` flag is the universally supported the `--local` flag, the `--offline` flag is the (almost) universally supported
replacement (it works everywhere). replacement.
For example: For example:
...@@ -32,6 +32,9 @@ For example: ...@@ -32,6 +32,9 @@ For example:
* `ipfs block stat --offline Qm...` is a great way to tell if a block is locally * `ipfs block stat --offline Qm...` is a great way to tell if a block is locally
available. available.
Note: It doesn't _yet_ work with the `refs`, `urlstore`, or `tar` commands
([#6002](https://github.com/ipfs/go-ipfs/issues/6002)).
On to the gateway, there's a new `Gateway.NoFetch` option to configure the On to the gateway, there's a new `Gateway.NoFetch` option to configure the
gateway to only serve locally present files. This makes it possible to run an gateway to only serve locally present files. This makes it possible to run an
IPFS node as a gateway to serve content of _your_ choosing without acting like a IPFS node as a gateway to serve content of _your_ choosing without acting like a
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论