namesys: drop prefix args
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com> This commit was moved from ipfs/interface-go-ipfs-core@1308d71ad0a2b782fd9b7f481ffe7789b30b8a29 This commit was moved from ipfs/boxo@183798effb213f1913b8c3702a89b5a026077e7a
Łukasz Magiera committed
Oct 16, 2018 at 16:35 UTC
cfb18be463a1be895ec794d1a0f57c8e256a2884
1 file changed
+2
-2
core/coreiface/name.go
+2
-2
@@ -40,7 +40,7 @@ type NameAPI interface {
40
// Search is a version of Resolve which outputs paths as they are discovered,
41
// reducing the time to first entry
42
//
43
- // Note that by default only the last path returned before the channel closes
44
- // can be considered 'safe'.
43
+ // Note: by default, all paths read from the channel are considered unsafe,
44
+ // except the latest (last path in channel read buffer).
45
Search(ctx context.Context, name string, opts ...options.NameResolveOption) (<-chan IpnsResult, error)
46
}