SYMBOL INDEX (3560 symbols across 482 files) FILE: assets/assets.go function SeedInitDocs (line 30) | func SeedInitDocs(nd *core.IpfsNode) (cid.Cid, error) { function addAssetList (line 34) | func addAssetList(nd *core.IpfsNode, l []string) (cid.Cid, error) { FILE: blocks/blockstoreutil/remove.go type RemovedBlock (line 21) | type RemovedBlock struct type RmBlocksOpts (line 27) | type RmBlocksOpts struct function RmBlocks (line 37) | func RmBlocks(ctx context.Context, blocks bs.GCBlockstore, pins pin.Pinn... function FilterPinned (line 78) | func FilterPinned(ctx context.Context, pins pin.Pinner, out chan<- any, ... FILE: client/rpc/api.go constant DefaultPathName (line 32) | DefaultPathName = ".ipfs" constant DefaultPathRoot (line 33) | DefaultPathRoot = "~/" + DefaultPathName constant DefaultApiFile (line 34) | DefaultApiFile = "api" constant EnvDir (line 35) | EnvDir = "IPFS_PATH" type HttpApi (line 46) | type HttpApi struct method WithOptions (line 185) | func (api *HttpApi) WithOptions(opts ...caopts.ApiOption) (iface.CoreA... method Request (line 206) | func (api *HttpApi) Request(command string, args ...string) RequestBui... method Unixfs (line 221) | func (api *HttpApi) Unixfs() iface.UnixfsAPI { method Block (line 225) | func (api *HttpApi) Block() iface.BlockAPI { method Dag (line 229) | func (api *HttpApi) Dag() iface.APIDagService { method Name (line 233) | func (api *HttpApi) Name() iface.NameAPI { method Key (line 237) | func (api *HttpApi) Key() iface.KeyAPI { method Pin (line 241) | func (api *HttpApi) Pin() iface.PinAPI { method Object (line 245) | func (api *HttpApi) Object() iface.ObjectAPI { method Swarm (line 249) | func (api *HttpApi) Swarm() iface.SwarmAPI { method PubSub (line 253) | func (api *HttpApi) PubSub() iface.PubSubAPI { method Routing (line 257) | func (api *HttpApi) Routing() iface.RoutingAPI { method loadRemoteVersion (line 261) | func (api *HttpApi) loadRemoteVersion() (*semver.Version, error) { function NewLocalApi (line 61) | func NewLocalApi() (*HttpApi, error) { function NewPathApi (line 72) | func NewPathApi(ipfspath string) (*HttpApi, error) { function ApiAddr (line 84) | func ApiAddr(ipfspath string) (ma.Multiaddr, error) { function NewApi (line 101) | func NewApi(a ma.Multiaddr) (*HttpApi, error) { function NewApiWithClient (line 131) | func NewApiWithClient(a ma.Multiaddr, c *http.Client) (*HttpApi, error) { function NewURLApiWithClient (line 161) | func NewURLApiWithClient(url string, c *http.Client) (*HttpApi, error) { FILE: client/rpc/api_test.go type NodeProvider (line 22) | type NodeProvider struct method MakeAPISwarm (line 24) | func (np NodeProvider) MakeAPISwarm(t *testing.T, ctx context.Context,... function TestHttpApi (line 97) | func TestHttpApi(t *testing.T) { function Test_NewURLApiWithClient_With_Headers (line 103) | func Test_NewURLApiWithClient_With_Headers(t *testing.T) { function Test_NewURLApiWithClient_HTTP_Variant (line 140) | func Test_NewURLApiWithClient_HTTP_Variant(t *testing.T) { FILE: client/rpc/apifile.go constant forwardSeekLimit (line 19) | forwardSeekLimit = 1 << 14 method Get (line 21) | func (api *UnixfsAPI) Get(ctx context.Context, p path.Path) (files.Node,... type apiFile (line 65) | type apiFile struct method reset (line 78) | func (f *apiFile) reset() error { method Read (line 98) | func (f *apiFile) Read(p []byte) (int, error) { method ReadAt (line 106) | func (f *apiFile) ReadAt(p []byte, off int64) (int, error) { method Seek (line 125) | func (f *apiFile) Seek(offset int64, whence int) (int64, error) { method Close (line 146) | func (f *apiFile) Close() error { method Mode (line 153) | func (f *apiFile) Mode() os.FileMode { method ModTime (line 157) | func (f *apiFile) ModTime() time.Time { method Size (line 161) | func (f *apiFile) Size() (int64, error) { function stringToFileMode (line 165) | func stringToFileMode(mode string) (os.FileMode, error) { method getFile (line 176) | func (api *UnixfsAPI) getFile(ctx context.Context, p path.Path, size int... type apiIter (line 189) | type apiIter struct method Err (line 200) | func (it *apiIter) Err() error { method Name (line 204) | func (it *apiIter) Name() string { method Next (line 208) | func (it *apiIter) Next() bool { method Node (line 265) | func (it *apiIter) Node() files.Node { type apiDir (line 269) | type apiDir struct method Close (line 281) | func (d *apiDir) Close() error { method Mode (line 285) | func (d *apiDir) Mode() os.FileMode { method ModTime (line 289) | func (d *apiDir) ModTime() time.Time { method Size (line 293) | func (d *apiDir) Size() (int64, error) { method Entries (line 297) | func (d *apiDir) Entries() files.DirIterator { method getDir (line 305) | func (api *UnixfsAPI) getDir(ctx context.Context, p path.Path, size int6... method getSymlink (line 334) | func (api *UnixfsAPI) getSymlink(ctx context.Context, p path.Path, modTi... FILE: client/rpc/auth/auth.go type AuthorizedRoundTripper (line 7) | type AuthorizedRoundTripper struct method RoundTrip (line 26) | func (tp *AuthorizedRoundTripper) RoundTrip(r *http.Request) (*http.Re... function NewAuthorizedRoundTripper (line 15) | func NewAuthorizedRoundTripper(authorization string, roundTripper http.R... FILE: client/rpc/block.go type BlockAPI (line 17) | type BlockAPI method Put (line 34) | func (api *BlockAPI) Put(ctx context.Context, r io.Reader, opts ...cao... method Get (line 77) | func (api *BlockAPI) Get(ctx context.Context, p path.Path) (io.Reader,... method Rm (line 96) | func (api *BlockAPI) Rm(ctx context.Context, p path.Path, opts ...caop... method Stat (line 118) | func (api *BlockAPI) Stat(ctx context.Context, p path.Path) (iface.Blo... method core (line 132) | func (api *BlockAPI) core() *HttpApi { type blockStat (line 19) | type blockStat struct method Size (line 26) | func (s *blockStat) Size() int { method Path (line 30) | func (s *blockStat) Path() path.ImmutablePath { FILE: client/rpc/dag.go type httpNodeAdder (line 18) | type httpNodeAdder method add (line 59) | func (api *httpNodeAdder) add(ctx context.Context, nd format.Node, pin... method addMany (line 88) | func (api *httpNodeAdder) addMany(ctx context.Context, nds []format.No... method core (line 132) | func (api *httpNodeAdder) core() *HttpApi { type HttpDagServ (line 19) | type HttpDagServ method Get (line 23) | func (api *HttpDagServ) Get(ctx context.Context, c cid.Cid) (format.No... method GetMany (line 42) | func (api *HttpDagServ) GetMany(ctx context.Context, cids []cid.Cid) <... method AddMany (line 98) | func (api *HttpDagServ) AddMany(ctx context.Context, nds []format.Node... method Add (line 102) | func (api *HttpDagServ) Add(ctx context.Context, nd format.Node) error { method Pinning (line 114) | func (api *HttpDagServ) Pinning() format.NodeAdder { method Remove (line 118) | func (api *HttpDagServ) Remove(ctx context.Context, c cid.Cid) error { method RemoveMany (line 122) | func (api *HttpDagServ) RemoveMany(ctx context.Context, cids []cid.Cid... method core (line 136) | func (api *HttpDagServ) core() *HttpApi { type pinningHttpNodeAdder (line 20) | type pinningHttpNodeAdder method Add (line 106) | func (api *pinningHttpNodeAdder) Add(ctx context.Context, nd format.No... method AddMany (line 110) | func (api *pinningHttpNodeAdder) AddMany(ctx context.Context, nds []fo... FILE: client/rpc/errors.go type prePostWrappedNotFoundError (line 15) | type prePostWrappedNotFoundError struct method String (line 22) | func (e prePostWrappedNotFoundError) String() string { method Error (line 26) | func (e prePostWrappedNotFoundError) Error() string { method Unwrap (line 30) | func (e prePostWrappedNotFoundError) Unwrap() error { function parseErrNotFoundWithFallbackToMSG (line 34) | func parseErrNotFoundWithFallbackToMSG(msg string) error { function parseErrNotFoundWithFallbackToError (line 43) | func parseErrNotFoundWithFallbackToError(msg error) error { function parseErrNotFound (line 52) | func parseErrNotFound(msg string) (error, bool) { constant cidBreakSet (line 72) | cidBreakSet = " \t\n\r\v\f;\"" function parseIPLDErrNotFound (line 74) | func parseIPLDErrNotFound(msg string) (error, bool) { type blockstoreNotFoundMatchingIPLDErrNotFound (line 143) | type blockstoreNotFoundMatchingIPLDErrNotFound struct method String (line 147) | func (e blockstoreNotFoundMatchingIPLDErrNotFound) String() string { method Error (line 151) | func (e blockstoreNotFoundMatchingIPLDErrNotFound) Error() string { method Is (line 155) | func (e blockstoreNotFoundMatchingIPLDErrNotFound) Is(err error) bool { function parseBlockstoreNotFound (line 160) | func parseBlockstoreNotFound(msg string) (error, bool) { FILE: client/rpc/errors_test.go function doParseIpldNotFoundTest (line 16) | func doParseIpldNotFoundTest(t *testing.T, original error) { function TestParseIPLDNotFound (line 34) | func TestParseIPLDNotFound(t *testing.T) { function TestBlockstoreNotFoundMatchingIPLDErrNotFound (line 75) | func TestBlockstoreNotFoundMatchingIPLDErrNotFound(t *testing.T) { FILE: client/rpc/key.go type KeyAPI (line 16) | type KeyAPI method Generate (line 55) | func (api *KeyAPI) Generate(ctx context.Context, name string, opts ...... method Rename (line 73) | func (api *KeyAPI) Rename(ctx context.Context, oldName string, newName... method List (line 100) | func (api *KeyAPI) List(ctx context.Context) ([]iface.Key, error) { method Self (line 120) | func (api *KeyAPI) Self(ctx context.Context) (iface.Key, error) { method Remove (line 129) | func (api *KeyAPI) Remove(ctx context.Context, name string) (iface.Key... method core (line 143) | func (api *KeyAPI) core() *HttpApi { method Sign (line 147) | func (api *KeyAPI) Sign(ctx context.Context, name string, data []byte)... method Verify (line 174) | func (api *KeyAPI) Verify(ctx context.Context, keyOrName string, signa... type key (line 18) | type key struct method Name (line 38) | func (k *key) Name() string { method Path (line 42) | func (k *key) Path() path.Path { method ID (line 46) | func (k *key) ID() peer.ID { function newKey (line 24) | func newKey(name, pidStr string) (*key, error) { type keyOutput (line 50) | type keyOutput struct FILE: client/rpc/name.go type NameAPI (line 16) | type NameAPI method Publish (line 23) | func (api *NameAPI) Publish(ctx context.Context, p path.Path, opts ...... method Search (line 46) | func (api *NameAPI) Search(ctx context.Context, name string, opts ...c... method Resolve (line 107) | func (api *NameAPI) Resolve(ctx context.Context, name string, opts ...... method core (line 132) | func (api *NameAPI) core() *HttpApi { type ipnsEntry (line 18) | type ipnsEntry struct FILE: client/rpc/object.go type ObjectAPI (line 12) | type ObjectAPI method AddLink (line 18) | func (api *ObjectAPI) AddLink(ctx context.Context, base path.Path, nam... method RmLink (line 40) | func (api *ObjectAPI) RmLink(ctx context.Context, base path.Path, link... method Diff (line 63) | func (api *ObjectAPI) Diff(ctx context.Context, a path.Path, b path.Pa... method core (line 86) | func (api *ObjectAPI) core() *HttpApi { type objectOut (line 14) | type objectOut struct type change (line 56) | type change struct FILE: client/rpc/path.go method ResolvePath (line 11) | func (api *HttpApi) ResolvePath(ctx context.Context, p path.Path) (path.... method ResolveNode (line 41) | func (api *HttpApi) ResolveNode(ctx context.Context, p path.Path) (ipld.... FILE: client/rpc/pin.go type PinAPI (line 16) | type PinAPI method Add (line 49) | func (api *PinAPI) Add(ctx context.Context, p path.Path, opts ...caopt... method Ls (line 69) | func (api *PinAPI) Ls(ctx context.Context, pins chan<- iface.Pin, opts... method IsPinned (line 113) | func (api *PinAPI) IsPinned(ctx context.Context, p path.Path, opts ...... method Rm (line 138) | func (api *PinAPI) Rm(ctx context.Context, p path.Path, opts ...caopts... method Update (line 149) | func (api *PinAPI) Update(ctx context.Context, from path.Path, to path... method Verify (line 190) | func (api *PinAPI) Verify(ctx context.Context) (<-chan iface.PinStatus... method core (line 261) | func (api *PinAPI) core() *HttpApi { type pinRefKeyObject (line 18) | type pinRefKeyObject struct type pinRefKeyList (line 22) | type pinRefKeyList struct type pin (line 26) | type pin struct method Err (line 33) | func (p pin) Err() error { method Path (line 37) | func (p pin) Path() path.ImmutablePath { method Name (line 41) | func (p pin) Name() string { method Type (line 45) | func (p pin) Type() string { type pinLsObject (line 63) | type pinLsObject struct type pinVerifyRes (line 159) | type pinVerifyRes struct method Ok (line 165) | func (r pinVerifyRes) Ok() bool { method BadNodes (line 169) | func (r pinVerifyRes) BadNodes() []iface.BadPinNode { method Err (line 173) | func (r pinVerifyRes) Err() error { type badNode (line 177) | type badNode struct method Path (line 182) | func (n badNode) Path() path.ImmutablePath { method Err (line 186) | func (n badNode) Err() error { FILE: client/rpc/pubsub.go type PubsubAPI (line 15) | type PubsubAPI method Ls (line 17) | func (api *PubsubAPI) Ls(ctx context.Context) ([]string, error) { method Peers (line 36) | func (api *PubsubAPI) Peers(ctx context.Context, opts ...caopts.PubSub... method Publish (line 65) | func (api *PubsubAPI) Publish(ctx context.Context, topic string, messa... method Subscribe (line 147) | func (api *PubsubAPI) Subscribe(ctx context.Context, topic string, opt... method core (line 205) | func (api *PubsubAPI) core() *HttpApi { type pubsubSub (line 71) | type pubsubSub struct method Next (line 111) | func (s *pubsubSub) Next(ctx context.Context) (iface.PubSubMessage, er... method Close (line 197) | func (s *pubsubSub) Close() error { type pubsubMessage (line 78) | type pubsubMessage struct method From (line 93) | func (msg *pubsubMessage) From() peer.ID { method Data (line 97) | func (msg *pubsubMessage) Data() []byte { method Seq (line 101) | func (msg *pubsubMessage) Seq() []byte { method Topics (line 107) | func (msg *pubsubMessage) Topics() []string { function toMultibase (line 210) | func toMultibase(data []byte) string { FILE: client/rpc/request.go type Request (line 9) | type Request struct function NewRequest (line 19) | func NewRequest(ctx context.Context, url, command string, args ...string... FILE: client/rpc/requestbuilder.go type RequestBuilder (line 15) | type RequestBuilder interface type requestBuilder (line 32) | type requestBuilder struct method Arguments (line 44) | func (r *requestBuilder) Arguments(args ...string) RequestBuilder { method BodyString (line 50) | func (r *requestBuilder) BodyString(body string) RequestBuilder { method BodyBytes (line 55) | func (r *requestBuilder) BodyBytes(body []byte) RequestBuilder { method Body (line 60) | func (r *requestBuilder) Body(body io.Reader) RequestBuilder { method FileBody (line 66) | func (r *requestBuilder) FileBody(body io.Reader) RequestBuilder { method Option (line 86) | func (r *requestBuilder) Option(key string, value any) RequestBuilder { method Header (line 107) | func (r *requestBuilder) Header(name, value string) RequestBuilder { method Send (line 116) | func (r *requestBuilder) Send(ctx context.Context) (*Response, error) { method Exec (line 131) | func (r *requestBuilder) Exec(ctx context.Context, res any) error { FILE: client/rpc/response.go type trailerReader (line 20) | type trailerReader struct method Read (line 24) | func (r *trailerReader) Read(b []byte) (int, error) { method Close (line 34) | func (r *trailerReader) Close() error { type Response (line 38) | type Response struct method Close (line 43) | func (r *Response) Close() error { method Cancel (line 58) | func (r *Response) Cancel() error { method decode (line 67) | func (r *Response) decode(dec any) error { method Send (line 81) | func (r *Request) Send(c *http.Client) (*Response, error) { method getURL (line 159) | func (r *Request) getURL() string { FILE: client/rpc/routing.go type RoutingAPI (line 15) | type RoutingAPI method Get (line 17) | func (api *RoutingAPI) Get(ctx context.Context, key string) ([]byte, e... method Put (line 42) | func (api *RoutingAPI) Put(ctx context.Context, key string, value []by... method FindPeer (line 63) | func (api *RoutingAPI) FindPeer(ctx context.Context, p peer.ID) (peer.... method FindProviders (line 87) | func (api *RoutingAPI) FindProviders(ctx context.Context, p path.Path,... method Provide (line 143) | func (api *RoutingAPI) Provide(ctx context.Context, p path.Path, opts ... method core (line 159) | func (api *RoutingAPI) core() *HttpApi { FILE: client/rpc/swarm.go type SwarmAPI (line 14) | type SwarmAPI method Connect (line 16) | func (api *SwarmAPI) Connect(ctx context.Context, pi peer.AddrInfo) er... method Disconnect (line 30) | func (api *SwarmAPI) Disconnect(ctx context.Context, addr multiaddr.Mu... method Peers (line 63) | func (api *SwarmAPI) Peers(ctx context.Context) ([]iface.ConnectionInf... method KnownAddrs (line 115) | func (api *SwarmAPI) KnownAddrs(ctx context.Context) (map[peer.ID][]mu... method LocalAddrs (line 145) | func (api *SwarmAPI) LocalAddrs(ctx context.Context) ([]multiaddr.Mult... method ListenAddrs (line 165) | func (api *SwarmAPI) ListenAddrs(ctx context.Context) ([]multiaddr.Mul... method core (line 185) | func (api *SwarmAPI) core() *HttpApi { type connInfo (line 34) | type connInfo struct method ID (line 43) | func (c *connInfo) ID() peer.ID { method Address (line 47) | func (c *connInfo) Address() multiaddr.Multiaddr { method Direction (line 51) | func (c *connInfo) Direction() network.Direction { method Latency (line 55) | func (c *connInfo) Latency() (time.Duration, error) { method Streams (line 59) | func (c *connInfo) Streams() ([]protocol.ID, error) { FILE: client/rpc/unixfs.go type addEvent (line 22) | type addEvent struct type UnixfsAPI (line 29) | type UnixfsAPI method Add (line 31) | func (api *UnixfsAPI) Add(ctx context.Context, f files.Node, opts ...c... method Ls (line 147) | func (api *UnixfsAPI) Ls(ctx context.Context, p path.Path, out chan<- ... method core (line 221) | func (api *UnixfsAPI) core() *HttpApi { type lsLink (line 128) | type lsLink struct type lsObject (line 138) | type lsObject struct type lsOutput (line 143) | type lsOutput struct FILE: commands/context.go type Context (line 23) | type Context struct method GetConfig (line 35) | func (c *Context) GetConfig() (*config.Config, error) { method GetNode (line 45) | func (c *Context) GetNode() (*core.IpfsNode, error) { method ClearCachedNode (line 69) | func (c *Context) ClearCachedNode() { method GetAPI (line 75) | func (c *Context) GetAPI() (coreiface.CoreAPI, error) { method Context (line 99) | func (c *Context) Context() context.Context { method LogRequest (line 112) | func (c *Context) LogRequest(req *cmds.Request) func() { method Close (line 129) | func (c *Context) Close() { FILE: commands/reqlog.go type ReqLogEntry (line 9) | type ReqLogEntry struct method Copy (line 22) | func (r *ReqLogEntry) Copy() *ReqLogEntry { type ReqLog (line 29) | type ReqLog struct method AddEntry (line 37) | func (rl *ReqLog) AddEntry(rle *ReqLogEntry) { method ClearInactive (line 51) | func (rl *ReqLog) ClearInactive() { method maybeCleanup (line 61) | func (rl *ReqLog) maybeCleanup() { method cleanup (line 69) | func (rl *ReqLog) cleanup() { method SetKeepTime (line 83) | func (rl *ReqLog) SetKeepTime(t time.Duration) { method Report (line 90) | func (rl *ReqLog) Report() []*ReqLogEntry { method Finish (line 103) | func (rl *ReqLog) Finish(rle *ReqLogEntry) { FILE: config/addresses.go type Addresses (line 4) | type Addresses struct FILE: config/api.go constant APITag (line 9) | APITag = "API" constant AuthorizationTag (line 10) | AuthorizationTag = "Authorizations" type RPCAuthScope (line 13) | type RPCAuthScope struct type API (line 24) | type API struct function ConvertAuthSecret (line 38) | func ConvertAuthSecret(secret string) string { FILE: config/api_test.go function TestConvertAuthSecret (line 9) | func TestConvertAuthSecret(t *testing.T) { FILE: config/autoconf.go type AutoConf (line 16) | type AutoConf struct constant AutoPlaceholder (line 36) | AutoPlaceholder = "auto" constant DefaultAutoConfEnabled (line 39) | DefaultAutoConfEnabled = true constant DefaultAutoConfURL (line 42) | DefaultAutoConfURL = autoconf.MainnetAutoConfURL constant DefaultAutoConfRefreshInterval (line 45) | DefaultAutoConfRefreshInterval = autoconf.DefaultRefreshInterval constant DefaultAutoConfCacheSize (line 48) | DefaultAutoConfCacheSize = autoconf.DefaultCacheSize constant DefaultAutoConfTimeout (line 49) | DefaultAutoConfTimeout = autoconf.DefaultTimeout function getNativeSystems (line 53) | func getNativeSystems(routingType string) []string { function selectRandomResolver (line 69) | func selectRandomResolver(resolvers []string) string { method DNSResolversWithAutoConf (line 77) | func (c *Config) DNSResolversWithAutoConf() map[string]string { function expandAutoConfSlice (line 122) | func expandAutoConfSlice(sourceSlice []string, autoConfData []string) []... method BootstrapWithAutoConf (line 144) | func (c *Config) BootstrapWithAutoConf() []string { method getAutoConf (line 163) | func (c *Config) getAutoConf() *autoconf.Config { method BootstrapPeersWithAutoConf (line 186) | func (c *Config) BootstrapPeersWithAutoConf() ([]peer.AddrInfo, error) { method DelegatedRoutersWithAutoConf (line 192) | func (c *Config) DelegatedRoutersWithAutoConf() []string { method DelegatedPublishersWithAutoConf (line 210) | func (c *Config) DelegatedPublishersWithAutoConf() []string { method expandConfigField (line 226) | func (c *Config) expandConfigField(expandedCfg map[string]any, fieldPath... method ExpandAutoConfValues (line 259) | func (c *Config) ExpandAutoConfValues(cfg map[string]any) (map[string]an... method ExpandConfigField (line 294) | func (c *Config) ExpandConfigField(key string, value any) any { function stringSliceToInterfaceSlice (line 305) | func stringSliceToInterfaceSlice(slice []string) []any { function stringMapToInterfaceMap (line 313) | func stringMapToInterfaceMap(m map[string]string) map[string]any { FILE: config/autoconf_client.go function GetAutoConfClient (line 25) | func GetAutoConfClient(cfg *Config) (*autoconf.Client, error) { function newAutoConfClient (line 33) | func newAutoConfClient(cfg *Config) (*autoconf.Client, error) { function ValidateAutoConfWithRepo (line 64) | func ValidateAutoConfWithRepo(cfg *Config, swarmKeyExists bool) error { function validateAutoConfDisabled (line 81) | func validateAutoConfDisabled(cfg *Config) error { FILE: config/autoconf_test.go function TestAutoConfDefaults (line 10) | func TestAutoConfDefaults(t *testing.T) { function TestAutoConfProfile (line 30) | func TestAutoConfProfile(t *testing.T) { function TestInitWithAutoValues (line 69) | func TestInitWithAutoValues(t *testing.T) { FILE: config/autonat.go type AutoNATServiceMode (line 8) | type AutoNATServiceMode method UnmarshalText (line 28) | func (m *AutoNATServiceMode) UnmarshalText(text []byte) error { method MarshalText (line 44) | func (m AutoNATServiceMode) MarshalText() ([]byte, error) { constant AutoNATServiceUnset (line 16) | AutoNATServiceUnset AutoNATServiceMode = iota constant AutoNATServiceEnabled (line 19) | AutoNATServiceEnabled constant AutoNATServiceDisabled (line 22) | AutoNATServiceDisabled constant AutoNATServiceEnabledV1Only (line 25) | AutoNATServiceEnabledV1Only type AutoNATConfig (line 60) | type AutoNATConfig struct type AutoNATThrottleConfig (line 75) | type AutoNATThrottleConfig struct FILE: config/autotls.go type AutoTLS (line 12) | type AutoTLS struct constant DefaultAutoTLSEnabled (line 46) | DefaultAutoTLSEnabled = true constant DefaultDomainSuffix (line 47) | DefaultDomainSuffix = p2pforge.DefaultForgeDomain constant DefaultRegistrationEndpoint (line 48) | DefaultRegistrationEndpoint = p2pforge.DefaultForgeEndpoint constant DefaultCAEndpoint (line 49) | DefaultCAEndpoint = p2pforge.DefaultCAEndpoint constant DefaultAutoWSS (line 50) | DefaultAutoWSS = true constant DefaultAutoTLSShortAddrs (line 51) | DefaultAutoTLSShortAddrs = true constant DefaultAutoTLSSkipDNSLookup (line 52) | DefaultAutoTLSSkipDNSLookup = true constant DefaultAutoTLSRegistrationDelay (line 53) | DefaultAutoTLSRegistrationDelay = 1 * time.Hour FILE: config/bitswap.go type Bitswap (line 4) | type Bitswap struct constant DefaultBitswapLibp2pEnabled (line 13) | DefaultBitswapLibp2pEnabled = true constant DefaultBitswapServerEnabled (line 14) | DefaultBitswapServerEnabled = true FILE: config/bootstrap_peers.go method BootstrapPeers (line 13) | func (c *Config) BootstrapPeers() ([]peer.AddrInfo, error) { method SetBootstrapPeers (line 17) | func (c *Config) SetBootstrapPeers(bps []peer.AddrInfo) { function ParseBootstrapPeers (line 22) | func ParseBootstrapPeers(addrs []string) ([]peer.AddrInfo, error) { function BootstrapPeerStrings (line 36) | func BootstrapPeerStrings(bps []peer.AddrInfo) []string { FILE: config/bootstrap_peers_test.go function TestBootstrapPeerStrings (line 11) | func TestBootstrapPeerStrings(t *testing.T) { FILE: config/config.go type Config (line 17) | type Config struct method Clone (line 213) | func (c *Config) Clone() (*Config, error) { constant DefaultPathName (line 55) | DefaultPathName = ".ipfs" constant DefaultPathRoot (line 57) | DefaultPathRoot = "~/" + DefaultPathName constant DefaultConfigFile (line 59) | DefaultConfigFile = "config" constant EnvDir (line 61) | EnvDir = "IPFS_PATH" function PathRoot (line 65) | func PathRoot() (string, error) { function Path (line 76) | func Path(configroot, extension string) (string, error) { function Filename (line 96) | func Filename(configroot, userConfigFile string) (string, error) { function HumanOutput (line 109) | func HumanOutput(value any) ([]byte, error) { function Marshal (line 118) | func Marshal(value any) ([]byte, error) { function FromMap (line 123) | func FromMap(v map[string]any) (*Config, error) { function ToMap (line 135) | func ToMap(conf *Config) (map[string]any, error) { function ReflectToMap (line 150) | func ReflectToMap(conf any) any { function CheckKey (line 229) | func CheckKey(key string) error { FILE: config/config_test.go function TestClone (line 7) | func TestClone(t *testing.T) { function TestReflectToMap (line 31) | func TestReflectToMap(t *testing.T) { function TestCheckKey (line 131) | func TestCheckKey(t *testing.T) { FILE: config/datastore.go constant DefaultDataStoreDirectory (line 9) | DefaultDataStoreDirectory = "datastore" constant DefaultBlockKeyCacheSize (line 13) | DefaultBlockKeyCacheSize = 64 << 10 constant DefaultWriteThrough (line 20) | DefaultWriteThrough bool = true type Datastore (line 24) | type Datastore struct function DataStorePath (line 45) | func DataStorePath(configroot string) (string, error) { FILE: config/discovery.go type Discovery (line 3) | type Discovery struct type MDNS (line 7) | type MDNS struct FILE: config/dns.go type DNS (line 4) | type DNS struct FILE: config/experiments.go type Experiments (line 3) | type Experiments struct FILE: config/gateway.go constant DefaultInlineDNSLink (line 8) | DefaultInlineDNSLink = false constant DefaultDeserializedResponses (line 9) | DefaultDeserializedResponses = true constant DefaultDisableHTMLErrors (line 10) | DefaultDisableHTMLErrors = false constant DefaultExposeRoutingAPI (line 11) | DefaultExposeRoutingAPI = true constant DefaultDiagnosticServiceURL (line 12) | DefaultDiagnosticServiceURL = "https://check.ipfs.network" constant DefaultAllowCodecConversion (line 13) | DefaultAllowCodecConversion = false constant DefaultRetrievalTimeout (line 16) | DefaultRetrievalTimeout = gateway.DefaultRetrievalTimeout constant DefaultMaxRequestDuration (line 17) | DefaultMaxRequestDuration = gateway.DefaultMaxRequestDuration constant DefaultMaxConcurrentRequests (line 18) | DefaultMaxConcurrentRequests = gateway.DefaultMaxConcurrentRequests constant DefaultMaxRangeRequestFileSize (line 19) | DefaultMaxRangeRequestFileSize = 0 type GatewaySpec (line 22) | type GatewaySpec struct type Gateway (line 53) | type Gateway struct FILE: config/http_retrieval.go type HTTPRetrieval (line 5) | type HTTPRetrieval struct constant DefaultHTTPRetrievalEnabled (line 15) | DefaultHTTPRetrievalEnabled = true constant DefaultHTTPRetrievalNumWorkers (line 16) | DefaultHTTPRetrievalNumWorkers = 16 constant DefaultHTTPRetrievalTLSInsecureSkipVerify (line 17) | DefaultHTTPRetrievalTLSInsecureSkipVerify = false constant DefaultHTTPRetrievalMaxBlockSize (line 18) | DefaultHTTPRetrievalMaxBlockSize = "2MiB" FILE: config/identity.go constant IdentityTag (line 10) | IdentityTag = "Identity" constant PrivKeyTag (line 11) | PrivKeyTag = "PrivKey" constant PrivKeySelector (line 12) | PrivKeySelector = IdentityTag + "." + PrivKeyTag type Identity (line 16) | type Identity struct method DecodePrivateKey (line 22) | func (i *Identity) DecodePrivateKey(passphrase string) (ic.PrivKey, er... FILE: config/import.go constant DefaultCidVersion (line 17) | DefaultCidVersion = 0 constant DefaultUnixFSRawLeaves (line 18) | DefaultUnixFSRawLeaves = false constant DefaultUnixFSChunker (line 19) | DefaultUnixFSChunker = "size-262144" constant DefaultHashFunction (line 20) | DefaultHashFunction = "sha2-256" constant DefaultFastProvideRoot (line 21) | DefaultFastProvideRoot = true constant DefaultFastProvideWait (line 22) | DefaultFastProvideWait = false constant DefaultUnixFSHAMTDirectorySizeThreshold (line 24) | DefaultUnixFSHAMTDirectorySizeThreshold = 262144 constant DefaultBatchMaxNodes (line 29) | DefaultBatchMaxNodes = 128 constant DefaultBatchMaxSize (line 33) | DefaultBatchMaxSize = 100 << 20 constant HAMTSizeEstimationLinks (line 36) | HAMTSizeEstimationLinks = "links" constant HAMTSizeEstimationBlock (line 37) | HAMTSizeEstimationBlock = "block" constant HAMTSizeEstimationDisabled (line 38) | HAMTSizeEstimationDisabled = "disabled" constant DAGLayoutBalanced (line 41) | DAGLayoutBalanced = "balanced" constant DAGLayoutTrickle (line 42) | DAGLayoutTrickle = "trickle" constant DefaultUnixFSHAMTDirectorySizeEstimation (line 44) | DefaultUnixFSHAMTDirectorySizeEstimation = HAMTSizeEstimationLinks constant DefaultUnixFSDAGLayout (line 45) | DefaultUnixFSDAGLayout = DAGLayoutBalanced constant DefaultUnixFSIncludeEmptyDirs (line 46) | DefaultUnixFSIncludeEmptyDirs = true type Import (line 57) | type Import struct method HAMTSizeEstimationMode (line 226) | func (i *Import) HAMTSizeEstimationMode() uio.SizeEstimationMode { method UnixFSSplitterFunc (line 242) | func (i *Import) UnixFSSplitterFunc() chunk.SplitterGen { function ValidateImportConfig (line 76) | func ValidateImportConfig(cfg *Import) error { function isPowerOfTwo (line 176) | func isPowerOfTwo(n int64) bool { function isValidChunker (line 181) | func isValidChunker(chunker string) bool { FILE: config/import_test.go function TestValidateImportConfig_HAMTFanout (line 11) | func TestValidateImportConfig_HAMTFanout(t *testing.T) { function TestValidateImportConfig_CidVersion (line 73) | func TestValidateImportConfig_CidVersion(t *testing.T) { function TestValidateImportConfig_UnixFSFileMaxLinks (line 110) | func TestValidateImportConfig_UnixFSFileMaxLinks(t *testing.T) { function TestValidateImportConfig_UnixFSDirectoryMaxLinks (line 147) | func TestValidateImportConfig_UnixFSDirectoryMaxLinks(t *testing.T) { function TestValidateImportConfig_BatchMax (line 184) | func TestValidateImportConfig_BatchMax(t *testing.T) { function TestValidateImportConfig_UnixFSChunker (line 229) | func TestValidateImportConfig_UnixFSChunker(t *testing.T) { function TestValidateImportConfig_HashFunction (line 275) | func TestValidateImportConfig_HashFunction(t *testing.T) { function TestValidateImportConfig_DefaultValue (line 326) | func TestValidateImportConfig_DefaultValue(t *testing.T) { function TestIsValidChunker (line 336) | func TestIsValidChunker(t *testing.T) { function TestIsPowerOfTwo (line 375) | func TestIsPowerOfTwo(t *testing.T) { function TestValidateImportConfig_HAMTSizeEstimation (line 411) | func TestValidateImportConfig_HAMTSizeEstimation(t *testing.T) { function TestValidateImportConfig_DAGLayout (line 449) | func TestValidateImportConfig_DAGLayout(t *testing.T) { function TestImport_HAMTSizeEstimationMode (line 486) | func TestImport_HAMTSizeEstimationMode(t *testing.T) { FILE: config/init.go function Init (line 16) | func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { function InitWithIdentity (line 25) | func InitWithIdentity(identity Identity) (*Config, error) { constant DefaultConnMgrHighWater (line 81) | DefaultConnMgrHighWater = 96 constant DefaultConnMgrLowWater (line 85) | DefaultConnMgrLowWater = 32 constant DefaultConnMgrGracePeriod (line 89) | DefaultConnMgrGracePeriod = time.Second * 20 constant DefaultConnMgrSilencePeriod (line 92) | DefaultConnMgrSilencePeriod = time.Second * 10 constant DefaultConnMgrType (line 96) | DefaultConnMgrType = "basic" constant DefaultResourceMgrMinInboundConns (line 100) | DefaultResourceMgrMinInboundConns = 800 function addressesConfig (line 102) | func addressesConfig() Addresses { function DefaultDatastoreConfig (line 123) | func DefaultDatastoreConfig() Datastore { function pebbleSpec (line 133) | func pebbleSpec() map[string]any { function pebbleSpecMeasure (line 142) | func pebbleSpecMeasure() map[string]any { function badgerSpec (line 154) | func badgerSpec() map[string]any { function badgerSpecMeasure (line 164) | func badgerSpecMeasure() map[string]any { function flatfsSpec (line 177) | func flatfsSpec() map[string]any { function flatfsSpecMeasure (line 200) | func flatfsSpecMeasure() map[string]any { function CreateIdentity (line 230) | func CreateIdentity(out io.Writer, opts []options.KeyGenerateOption) (Id... FILE: config/init_test.go function TestCreateIdentity (line 11) | func TestCreateIdentity(t *testing.T) { function TestCreateIdentityOptions (line 38) | func TestCreateIdentityOptions(t *testing.T) { FILE: config/internal.go constant DefaultMFSNoFlushLimit (line 5) | DefaultMFSNoFlushLimit = 256 type Internal (line 8) | type Internal struct type InternalBitswap (line 23) | type InternalBitswap struct type BitswapBroadcastControl (line 34) | type BitswapBroadcastControl struct constant DefaultBroadcastControlEnable (line 72) | DefaultBroadcastControlEnable = true constant DefaultBroadcastControlMaxPeers (line 73) | DefaultBroadcastControlMaxPeers = -1 constant DefaultBroadcastControlLocalPeers (line 74) | DefaultBroadcastControlLocalPeers = false constant DefaultBroadcastControlPeeredPeers (line 75) | DefaultBroadcastControlPeeredPeers = false constant DefaultBroadcastControlMaxRandomPeers (line 76) | DefaultBroadcastControlMaxRandomPeers = 0 constant DefaultBroadcastControlSendToPendingPeers (line 77) | DefaultBroadcastControlSendToPendingPeers = false FILE: config/ipns.go constant DefaultIpnsMaxCacheTTL (line 9) | DefaultIpnsMaxCacheTTL = time.Duration(math.MaxInt64) type Ipns (line 12) | type Ipns struct FILE: config/migration.go constant DefaultMigrationKeep (line 3) | DefaultMigrationKeep = "cache" type Migration (line 14) | type Migration struct FILE: config/migration_test.go function TestMigrationDecode (line 8) | func TestMigrationDecode(t *testing.T) { FILE: config/mounts.go type Mounts (line 4) | type Mounts struct FILE: config/peering.go type Peering (line 6) | type Peering struct FILE: config/plugins.go type Plugins (line 3) | type Plugins struct type Plugin (line 8) | type Plugin struct FILE: config/profile.go type Transformer (line 10) | type Transformer type Profile (line 13) | type Profile struct function getAvailablePort (line 391) | func getAvailablePort() (port int, err error) { function appendSingle (line 401) | func appendSingle(a []string, b []string) []string { function deleteEntries (line 419) | func deleteEntries(arr []string, del []string) []string { function mapKeys (line 430) | func mapKeys(m map[string]struct{}) []string { function applyUnixFSv02015 (line 439) | func applyUnixFSv02015(c *Config) error { FILE: config/provide.go constant DefaultProvideEnabled (line 12) | DefaultProvideEnabled = true constant DefaultProvideStrategy (line 13) | DefaultProvideStrategy = "all" constant DefaultProvideDHTInterval (line 16) | DefaultProvideDHTInterval = 22 * time.Hour constant DefaultProvideDHTMaxWorkers (line 17) | DefaultProvideDHTMaxWorkers = 16 constant DefaultProvideDHTSweepEnabled (line 18) | DefaultProvideDHTSweepEnabled = true constant DefaultProvideDHTResumeEnabled (line 19) | DefaultProvideDHTResumeEnabled = true constant DefaultProvideDHTDedicatedPeriodicWorkers (line 20) | DefaultProvideDHTDedicatedPeriodicWorkers = 2 constant DefaultProvideDHTDedicatedBurstWorkers (line 21) | DefaultProvideDHTDedicatedBurstWorkers = 1 constant DefaultProvideDHTMaxProvideConnsPerWorker (line 22) | DefaultProvideDHTMaxProvideConnsPerWorker = 20 constant DefaultProvideDHTKeystoreBatchSize (line 23) | DefaultProvideDHTKeystoreBatchSize = 1 << 14 constant DefaultProvideDHTOfflineDelay (line 24) | DefaultProvideDHTOfflineDelay = 2 * time.Hour constant DefaultFastProvideTimeout (line 29) | DefaultFastProvideTimeout = 10 * time.Second type ProvideStrategy (line 32) | type ProvideStrategy constant ProvideStrategyAll (line 35) | ProvideStrategyAll ProvideStrategy = 1 << iota constant ProvideStrategyPinned (line 36) | ProvideStrategyPinned constant ProvideStrategyRoots (line 37) | ProvideStrategyRoots constant ProvideStrategyMFS (line 38) | ProvideStrategyMFS type Provide (line 44) | type Provide struct type ProvideDHT (line 59) | type ProvideDHT struct function ParseProvideStrategy (line 103) | func ParseProvideStrategy(s string) ProvideStrategy { function ValidateProvideConfig (line 121) | func ValidateProvideConfig(cfg *Provide) error { function ShouldProvideForStrategy (line 186) | func ShouldProvideForStrategy(strategy ProvideStrategy, isPinned bool, i... FILE: config/provide_test.go function TestParseProvideStrategy (line 11) | func TestParseProvideStrategy(t *testing.T) { function TestValidateProvideConfig_Interval (line 35) | func TestValidateProvideConfig_Interval(t *testing.T) { function TestValidateProvideConfig_MaxWorkers (line 73) | func TestValidateProvideConfig_MaxWorkers(t *testing.T) { function TestShouldProvideForStrategy (line 109) | func TestShouldProvideForStrategy(t *testing.T) { FILE: config/provider.go type Provider (line 7) | type Provider struct FILE: config/pubsub.go constant LastSeenMessagesStrategy (line 9) | LastSeenMessagesStrategy = "last-seen" constant FirstSeenMessagesStrategy (line 15) | FirstSeenMessagesStrategy = "first-seen" constant DefaultSeenMessagesStrategy (line 19) | DefaultSeenMessagesStrategy = LastSeenMessagesStrategy type PubsubConfig (line 22) | type PubsubConfig struct FILE: config/remotepin.go type Pinning (line 8) | type Pinning struct type RemotePinningService (line 12) | type RemotePinningService struct type RemotePinningServiceAPI (line 17) | type RemotePinningServiceAPI struct type RemotePinningServicePolicies (line 22) | type RemotePinningServicePolicies struct type RemotePinningServiceMFSPolicy (line 26) | type RemotePinningServiceMFSPolicy struct FILE: config/reprovider.go type Reprovider (line 7) | type Reprovider struct FILE: config/routing.go constant DefaultAcceleratedDHTClient (line 13) | DefaultAcceleratedDHTClient = false constant DefaultLoopbackAddressesOnLanDHT (line 14) | DefaultLoopbackAddressesOnLanDHT = false constant DefaultRoutingType (line 15) | DefaultRoutingType = "auto" constant CidContactRoutingURL (line 16) | CidContactRoutingURL = "https://cid.contact" constant PublicGoodDelegatedRoutingURL (line 17) | PublicGoodDelegatedRoutingURL = "https://delegated-ipfs.dev" constant EnvHTTPRouters (line 18) | EnvHTTPRouters = "IPFS_HTTP_ROUTERS" constant EnvHTTPRoutersFilterProtocols (line 19) | EnvHTTPRoutersFilterProtocols = "IPFS_HTTP_ROUTERS_FILTER_PROTOCOLS" type Routing (line 34) | type Routing struct type Router (line 57) | type Router struct type Routers (line 67) | type Routers type Methods (line 68) | type Methods method Check (line 71) | func (m Methods) Check() error { type RouterParser (line 94) | type RouterParser struct method UnmarshalJSON (line 98) | func (r *RouterParser) UnmarshalJSON(b []byte) error { type RouterType (line 130) | type RouterType constant RouterTypeHTTP (line 133) | RouterTypeHTTP RouterType = "http" constant RouterTypeDHT (line 134) | RouterTypeDHT RouterType = "dht" constant RouterTypeSequential (line 135) | RouterTypeSequential RouterType = "sequential" constant RouterTypeParallel (line 136) | RouterTypeParallel RouterType = "parallel" type DHTMode (line 139) | type DHTMode constant DHTModeServer (line 142) | DHTModeServer DHTMode = "server" constant DHTModeClient (line 143) | DHTModeClient DHTMode = "client" constant DHTModeAuto (line 144) | DHTModeAuto DHTMode = "auto" type MethodName (line 147) | type MethodName constant MethodNameProvide (line 150) | MethodNameProvide MethodName = "provide" constant MethodNameFindProviders (line 151) | MethodNameFindProviders MethodName = "find-providers" constant MethodNameFindPeers (line 152) | MethodNameFindPeers MethodName = "find-peers" constant MethodNameGetIPNS (line 153) | MethodNameGetIPNS MethodName = "get-ipns" constant MethodNamePutIPNS (line 154) | MethodNamePutIPNS MethodName = "put-ipns" type HTTPRouterParams (line 159) | type HTTPRouterParams struct method FillDefaults (line 171) | func (hrp *HTTPRouterParams) FillDefaults() { type DHTRouterParams (line 181) | type DHTRouterParams struct type ComposableRouterParams (line 187) | type ComposableRouterParams struct type ConfigRouter (line 192) | type ConfigRouter struct type Method (line 199) | type Method struct function getEnvOrDefault (line 205) | func getEnvOrDefault(key string, defaultValue []string) []string { method HasHTTPProviderConfigured (line 229) | func (c *Config) HasHTTPProviderConfigured() bool { method routerSupportsHTTPProviding (line 244) | func (c *Config) routerSupportsHTTPProviding(routerName string) bool { FILE: config/routing_test.go function TestRouterParameters (line 11) | func TestRouterParameters(t *testing.T) { function TestMethods (line 107) | func TestMethods(t *testing.T) { FILE: config/serialize/serialize.go function ReadConfigFile (line 21) | func ReadConfigFile(filename string, cfg any) error { function WriteConfigFile (line 37) | func WriteConfigFile(filename string, cfg any) error { function encode (line 53) | func encode(w io.Writer, value any) error { function Load (line 64) | func Load(filename string) (*config.Config, error) { FILE: config/serialize/serialize_test.go function TestConfig (line 11) | func TestConfig(t *testing.T) { FILE: config/swarm.go type SwarmConfig (line 3) | type SwarmConfig struct type RelayClient (line 37) | type RelayClient struct type RelayService (line 49) | type RelayService struct type Transports (line 74) | type Transports struct type ConnMgr (line 106) | type ConnMgr struct type ResourceMgr (line 116) | type ResourceMgr struct constant ResourceMgrSystemScope (line 131) | ResourceMgrSystemScope = "system" constant ResourceMgrTransientScope (line 132) | ResourceMgrTransientScope = "transient" constant ResourceMgrServiceScopePrefix (line 133) | ResourceMgrServiceScopePrefix = "svc:" constant ResourceMgrProtocolScopePrefix (line 134) | ResourceMgrProtocolScopePrefix = "proto:" constant ResourceMgrPeerScopePrefix (line 135) | ResourceMgrPeerScopePrefix = "peer:" FILE: config/types.go type Strings (line 16) | type Strings method UnmarshalJSON (line 19) | func (o *Strings) UnmarshalJSON(data []byte) error { method MarshalJSON (line 36) | func (o Strings) MarshalJSON() ([]byte, error) { type Flag (line 56) | type Flag method WithDefault (line 67) | func (f Flag) WithDefault(defaultValue bool) bool { method MarshalJSON (line 80) | func (f Flag) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 93) | func (f *Flag) UnmarshalJSON(input []byte) error { method String (line 107) | func (f Flag) String() string { constant False (line 59) | False Flag = -1 constant Default (line 60) | Default Flag = 0 constant True (line 61) | True Flag = 1 function ResolveBoolFromConfig (line 123) | func ResolveBoolFromConfig(userValue bool, userSet bool, configFlag Flag... type Priority (line 140) | type Priority method WithDefault (line 153) | func (p Priority) WithDefault(defaultPriority Priority) (priority int6... method MarshalJSON (line 177) | func (p Priority) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 193) | func (p *Priority) UnmarshalJSON(input []byte) error { method String (line 215) | func (p Priority) String() string { constant DefaultPriority (line 143) | DefaultPriority Priority = 0 constant Disabled (line 144) | Disabled Priority = -1 type OptionalDuration (line 237) | type OptionalDuration struct method UnmarshalJSON (line 246) | func (d *OptionalDuration) UnmarshalJSON(input []byte) error { method IsDefault (line 262) | func (d *OptionalDuration) IsDefault() bool { method WithDefault (line 266) | func (d *OptionalDuration) WithDefault(defaultValue time.Duration) tim... method MarshalJSON (line 273) | func (d OptionalDuration) MarshalJSON() ([]byte, error) { method String (line 280) | func (d OptionalDuration) String() string { function NewOptionalDuration (line 242) | func NewOptionalDuration(d time.Duration) *OptionalDuration { type Duration (line 292) | type Duration struct method MarshalJSON (line 296) | func (d Duration) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 300) | func (d *Duration) UnmarshalJSON(b []byte) error { type OptionalInteger (line 329) | type OptionalInteger struct method WithDefault (line 339) | func (p *OptionalInteger) WithDefault(defaultValue int64) (value int64) { method IsDefault (line 347) | func (p *OptionalInteger) IsDefault() bool { method MarshalJSON (line 351) | func (p OptionalInteger) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 358) | func (p *OptionalInteger) UnmarshalJSON(input []byte) error { method String (line 373) | func (p OptionalInteger) String() string { function NewOptionalInteger (line 334) | func NewOptionalInteger(v int64) *OptionalInteger { type OptionalString (line 388) | type OptionalString struct method WithDefault (line 398) | func (p *OptionalString) WithDefault(defaultValue string) (value strin... method IsDefault (line 406) | func (p *OptionalString) IsDefault() bool { method MarshalJSON (line 410) | func (p OptionalString) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 417) | func (p *OptionalString) UnmarshalJSON(input []byte) error { method String (line 432) | func (p OptionalString) String() string { function NewOptionalString (line 393) | func NewOptionalString(s string) *OptionalString { type OptionalBytes (line 449) | type OptionalBytes struct method IsDefault (line 459) | func (p *OptionalBytes) IsDefault() bool { method WithDefault (line 468) | func (p *OptionalBytes) WithDefault(defaultValue uint64) (value uint64) { method UnmarshalJSON (line 483) | func (p *OptionalBytes) UnmarshalJSON(input []byte) error { function NewOptionalBytes (line 454) | func NewOptionalBytes(s string) *OptionalBytes { type swarmLimits (line 515) | type swarmLimits method UnmarshalJSON (line 519) | func (swarmLimits) UnmarshalJSON(b []byte) error { type experimentalAcceleratedDHTClient (line 539) | type experimentalAcceleratedDHTClient method UnmarshalJSON (line 543) | func (experimentalAcceleratedDHTClient) UnmarshalJSON(b []byte) error { type doNotUse (line 566) | type doNotUse type graphsyncEnabled (line 568) | type graphsyncEnabled method UnmarshalJSON (line 572) | func (graphsyncEnabled) UnmarshalJSON(b []byte) error { FILE: config/types_test.go function TestOptionalDuration (line 13) | func TestOptionalDuration(t *testing.T) { function TestOneStrings (line 131) | func TestOneStrings(t *testing.T) { function TestNoStrings (line 142) | func TestNoStrings(t *testing.T) { function TestManyStrings (line 153) | func TestManyStrings(t *testing.T) { function TestFunkyStrings (line 164) | func TestFunkyStrings(t *testing.T) { function TestFlag (line 175) | func TestFlag(t *testing.T) { function TestPriority (line 243) | func TestPriority(t *testing.T) { function TestOptionalInteger (line 310) | func TestOptionalInteger(t *testing.T) { function TestOptionalString (line 415) | func TestOptionalString(t *testing.T) { function TestOptionalBytes (line 516) | func TestOptionalBytes(t *testing.T) { FILE: config/version.go constant DefaultSwarmCheckPercentThreshold (line 3) | DefaultSwarmCheckPercentThreshold = 5 type Version (line 6) | type Version struct FILE: core/builder.go type FXNodeInfo (line 21) | type FXNodeInfo struct type fxOptFunc (line 26) | type fxOptFunc function RegisterFXOptionFunc (line 45) | func RegisterFXOptionFunc(optFunc fxOptFunc) { type valueContext (line 50) | type valueContext struct method Deadline (line 54) | func (valueContext) Deadline() (deadline time.Time, ok bool) { return } method Done (line 55) | func (valueContext) Done() <-chan struct{} { return ... method Err (line 56) | func (valueContext) Err() error { return ... function NewNode (line 61) | func NewNode(ctx context.Context, cfg *BuildCfg) (*IpfsNode, error) { function logAndUnwrapFxError (line 153) | func logAndUnwrapFxError(fxAppErr error) error { FILE: core/commands/active.go constant verboseOptionName (line 16) | verboseOptionName = "verbose" FILE: core/commands/add.go type AddEvent (line 32) | type AddEvent struct constant pinNameOptionName (line 43) | pinNameOptionName = "pin-name" constant quietOptionName (line 44) | quietOptionName = "quiet" constant quieterOptionName (line 45) | quieterOptionName = "quieter" constant silentOptionName (line 46) | silentOptionName = "silent" constant progressOptionName (line 47) | progressOptionName = "progress" constant trickleOptionName (line 48) | trickleOptionName = "trickle" constant wrapOptionName (line 49) | wrapOptionName = "wrap-with-directory" constant onlyHashOptionName (line 50) | onlyHashOptionName = "only-hash" constant chunkerOptionName (line 51) | chunkerOptionName = "chunker" constant pinOptionName (line 52) | pinOptionName = "pin" constant rawLeavesOptionName (line 53) | rawLeavesOptionName = "raw-leaves" constant maxFileLinksOptionName (line 54) | maxFileLinksOptionName = "max-file-links" constant maxDirectoryLinksOptionName (line 55) | maxDirectoryLinksOptionName = "max-directory-links" constant maxHAMTFanoutOptionName (line 56) | maxHAMTFanoutOptionName = "max-hamt-fanout" constant noCopyOptionName (line 57) | noCopyOptionName = "nocopy" constant fstoreCacheOptionName (line 58) | fstoreCacheOptionName = "fscache" constant cidVersionOptionName (line 59) | cidVersionOptionName = "cid-version" constant hashOptionName (line 60) | hashOptionName = "hash" constant inlineOptionName (line 61) | inlineOptionName = "inline" constant inlineLimitOptionName (line 62) | inlineLimitOptionName = "inline-limit" constant toFilesOptionName (line 63) | toFilesOptionName = "to-files" constant preserveModeOptionName (line 65) | preserveModeOptionName = "preserve-mode" constant preserveMtimeOptionName (line 66) | preserveMtimeOptionName = "preserve-mtime" constant modeOptionName (line 67) | modeOptionName = "mode" constant mtimeOptionName (line 68) | mtimeOptionName = "mtime" constant mtimeNsecsOptionName (line 69) | mtimeNsecsOptionName = "mtime-nsecs" constant fastProvideRootOptionName (line 70) | fastProvideRootOptionName = "fast-provide-root" constant fastProvideWaitOptionName (line 71) | fastProvideWaitOptionName = "fast-provide-wait" constant emptyDirsOptionName (line 72) | emptyDirsOptionName = "empty-dirs" constant adderOutChanSize (line 76) | adderOutChanSize = 8 FILE: core/commands/bitswap.go constant peerOptionName (line 32) | peerOptionName = "peer" constant bitswapVerboseOptionName (line 98) | bitswapVerboseOptionName = "verbose" constant bitswapHumanOptionName (line 99) | bitswapHumanOptionName = "human" FILE: core/commands/block.go type BlockStat (line 21) | type BlockStat struct method String (line 26) | func (bs BlockStat) String() string { constant blockFormatOptionName (line 132) | blockFormatOptionName = "format" constant blockCidCodecOptionName (line 133) | blockCidCodecOptionName = "cid-codec" constant mhtypeOptionName (line 134) | mhtypeOptionName = "mhtype" constant mhlenOptionName (line 135) | mhlenOptionName = "mhlen" constant forceOptionName (line 253) | forceOptionName = "force" constant blockQuietOptionName (line 254) | blockQuietOptionName = "quiet" type removedBlock (line 257) | type removedBlock struct FILE: core/commands/bootstrap.go type BootstrapOutput (line 19) | type BootstrapOutput struct constant bootstrapAllOptionName (line 115) | bootstrapAllOptionName = "all" function bootstrapWritePeers (line 256) | func bootstrapWritePeers(w io.Writer, prefix string, peers []string) err... function bootstrapAdd (line 269) | func bootstrapAdd(r repo.Repo, cfg *config.Config, peers []string) ([]st... function bootstrapRemove (line 323) | func bootstrapRemove(r repo.Repo, cfg *config.Config, toRemove []string)... function bootstrapRemoveAll (line 392) | func bootstrapRemoveAll(r repo.Repo, cfg *config.Config) ([]string, erro... constant bootstrapSecurityWarning (line 417) | bootstrapSecurityWarning = ` FILE: core/commands/cat.go constant progressBarMinSize (line 19) | progressBarMinSize = 1024 * 1024 * 8 constant offsetOptionName (line 20) | offsetOptionName = "offset" constant lengthOptionName (line 21) | lengthOptionName = "length" function cat (line 124) | func cat(ctx context.Context, api iface.CoreAPI, paths []string, offset ... FILE: core/commands/cid.go constant cidFormatOptionName (line 40) | cidFormatOptionName = "f" constant cidToVersionOptionName (line 41) | cidToVersionOptionName = "v" constant cidCodecOptionName (line 42) | cidCodecOptionName = "mc" constant cidMultibaseOptionName (line 43) | cidMultibaseOptionName = "b" type CidFormatRes (line 133) | type CidFormatRes struct type cidFormatOpts (line 163) | type cidFormatOpts struct type argumentIterator (line 170) | type argumentIterator struct method next (line 175) | func (i *argumentIterator) next() (string, bool) { method err (line 187) | func (i *argumentIterator) err() error { function emitCids (line 194) | func emitCids(req *cmds.Request, resp cmds.ResponseEmitter, opts cidForm... function toCidV0 (line 254) | func toCidV0(c cid.Cid) (cid.Cid, error) { function toCidV1 (line 261) | func toCidV1(c cid.Cid) (cid.Cid, error) { type CodeAndName (line 265) | type CodeAndName struct constant prefixOptionName (line 271) | prefixOptionName = "prefix" constant numericOptionName (line 272) | numericOptionName = "numeric" constant codecsNumericOptionName (line 324) | codecsNumericOptionName = "numeric" constant codecsSupportedOptionName (line 325) | codecsSupportedOptionName = "supported" type CidInspectRes (line 409) | type CidInspectRes struct type CidInspectBase (line 420) | type CidInspectBase struct type CidInspectCodec (line 425) | type CidInspectCodec struct type CidInspectHash (line 430) | type CidInspectHash struct type multibaseSorter (line 581) | type multibaseSorter struct method Sort (line 585) | func (s multibaseSorter) Sort() { type codeAndNameSorter (line 595) | type codeAndNameSorter struct method Sort (line 599) | func (s codeAndNameSorter) Sort() { FILE: core/commands/cid_test.go function TestCidFmtCmd (line 10) | func TestCidFmtCmd(t *testing.T) { FILE: core/commands/cmdenv/cidbase.go function GetCidEncoder (line 20) | func GetCidEncoder(req *cmds.Request) (cidenc.Encoder, error) { function GetLowLevelCidEncoder (line 27) | func GetLowLevelCidEncoder(req *cmds.Request) (cidenc.Encoder, error) { function getCidBase (line 31) | func getCidBase(req *cmds.Request, autoUpgrade bool) (cidenc.Encoder, er... function CidBaseDefined (line 57) | func CidBaseDefined(req *cmds.Request) bool { function CidEncoderFromPath (line 77) | func CidEncoderFromPath(p string) (cidenc.Encoder, error) { FILE: core/commands/cmdenv/cidbase_test.go function TestEncoderFromPath (line 10) | func TestEncoderFromPath(t *testing.T) { FILE: core/commands/cmdenv/env.go function GetNode (line 24) | func GetNode(env any) (*core.IpfsNode, error) { function GetApi (line 34) | func GetApi(env cmds.Environment, req *cmds.Request) (coreiface.CoreAPI,... function GetConfigRoot (line 59) | func GetConfigRoot(env cmds.Environment) (string, error) { function EscNonPrint (line 72) | func EscNonPrint(s string) string { function needEscape (line 82) | func needEscape(s string) bool { function provideCIDSync (line 106) | func provideCIDSync(ctx context.Context, router routing.Routing, c cid.C... function ExecuteFastProvide (line 132) | func ExecuteFastProvide( FILE: core/commands/cmdenv/env_test.go function TestEscNonPrint (line 8) | func TestEscNonPrint(t *testing.T) { function hasNonPrintable (line 41) | func hasNonPrintable(s string) bool { FILE: core/commands/cmdenv/file.go function GetFileArg (line 10) | func GetFileArg(it files.DirIterator) (files.File, error) { FILE: core/commands/cmdutils/sanitize.go constant maxRunes (line 8) | maxRunes = 128 function CleanAndTrim (line 17) | func CleanAndTrim(str string) string { FILE: core/commands/cmdutils/utils.go constant AllowBigBlockOptionName (line 16) | AllowBigBlockOptionName = "allow-big-block" constant SoftBlockLimit (line 19) | SoftBlockLimit = 2 * 1024 * 1024 constant MaxPinNameBytes (line 20) | MaxPinNameBytes = 255 function init (line 25) | func init() { function CheckCIDSize (line 29) | func CheckCIDSize(req *cmds.Request, c cid.Cid, dagAPI coreiface.APIDagS... function CheckBlockSize (line 43) | func CheckBlockSize(req *cmds.Request, size uint64) error { function ValidatePinName (line 59) | func ValidatePinName(name string) error { function PathOrCidPath (line 74) | func PathOrCidPath(str string) (path.Path, error) { function CloneAddrInfo (line 94) | func CloneAddrInfo(ai peer.AddrInfo) peer.AddrInfo { FILE: core/commands/cmdutils/utils_test.go function TestPathOrCidPath (line 11) | func TestPathOrCidPath(t *testing.T) { function TestValidatePinName (line 75) | func TestValidatePinName(t *testing.T) { FILE: core/commands/commands.go type commandEncoder (line 19) | type commandEncoder struct method Encode (line 23) | func (e *commandEncoder) Encode(v any) error { type Command (line 43) | type Command struct type Option (line 51) | type Option struct constant flagsOptionName (line 56) | flagsOptionName = "flags" function CommandsCmd (line 61) | func CommandsCmd(root *cmds.Command) *cmds.Command { function cmd2outputCmd (line 88) | func cmd2outputCmd(name string, cmd *cmds.Command) Command { function cmdPathStrings (line 107) | func cmdPathStrings(cmd *Command, showOptions bool) []string { function CompletionCmd (line 138) | func CompletionCmd(root *cmds.Command) *cmds.Command { type nonFatalError (line 230) | type nonFatalError function streamResult (line 235) | func streamResult(procVal func(any, io.Writer) nonFatalError) func(cmds.... FILE: core/commands/commands_test.go function collectPaths (line 10) | func collectPaths(prefix string, cmd *cmds.Command, out map[string]struc... function TestCommands (line 18) | func TestCommands(t *testing.T) { FILE: core/commands/completion.go type completionCommand (line 12) | type completionCommand struct type singleOption (line 26) | type singleOption struct function commandToCompletions (line 32) | func commandToCompletions(name string, fullName string, cmd *cmds.Comman... function init (line 81) | func init() { function writeBashCompletions (line 229) | func writeBashCompletions(cmd *cmds.Command, out io.Writer) error { function writeFishCompletions (line 235) | func writeFishCompletions(cmd *cmds.Command, out io.Writer) error { function writeZshCompletions (line 240) | func writeZshCompletions(cmd *cmds.Command, out io.Writer) error { FILE: core/commands/config.go type ConfigUpdateOutput (line 24) | type ConfigUpdateOutput struct type ConfigField (line 29) | type ConfigField struct constant configBoolOptionName (line 35) | configBoolOptionName = "bool" constant configJSONOptionName (line 36) | configJSONOptionName = "json" constant configDryRunOptionName (line 37) | configDryRunOptionName = "dry-run" constant configExpandAutoName (line 38) | configExpandAutoName = "expand-auto" function matchesGlobPrefix (line 179) | func matchesGlobPrefix(key string, glob []string) bool { function scrubValue (line 276) | func scrubValue(m map[string]any, key []string) (map[string]any, error) { function scrubOptionalValue (line 281) | func scrubOptionalValue(m map[string]any, key []string) (map[string]any,... function scrubEither (line 285) | func scrubEither(u any, key []string, okIfMissing bool) (any, error) { function scrubValueInternal (line 293) | func scrubValueInternal(v any, key []string, okIfMissing bool) (any, err... function scrubMapInternal (line 300) | func scrubMapInternal(m map[string]any, key []string, okIfMissing bool) ... function buildProfileHelp (line 449) | func buildProfileHelp() string { function scrubPrivKey (line 466) | func scrubPrivKey(cfg *config.Config) (map[string]any, error) { function transformConfig (line 485) | func transformConfig(configRoot string, configName string, transformer c... function getConfig (line 523) | func getConfig(r repo.Repo, key string) (*ConfigField, error) { function getConfigWithAutoExpand (line 534) | func getConfigWithAutoExpand(r repo.Repo, key string) (*ConfigField, err... function setConfig (line 556) | func setConfig(r repo.Repo, key string, value any) (*ConfigField, error) { function parseEditorCommand (line 565) | func parseEditorCommand(editor string) ([]string, error) { function editConfig (line 569) | func editConfig(filename string) error { function replaceConfig (line 587) | func replaceConfig(r repo.Repo, file io.Reader) error { function getRemotePinningServices (line 644) | func getRemotePinningServices(r repo.Repo) (map[string]config.RemotePinn... FILE: core/commands/config_test.go function TestScrubMapInternalDelete (line 5) | func TestScrubMapInternalDelete(t *testing.T) { function TestEditorParsing (line 18) | func TestEditorParsing(t *testing.T) { FILE: core/commands/dag/dag.go constant pinRootsOptionName (line 20) | pinRootsOptionName = "pin-roots" constant progressOptionName (line 21) | progressOptionName = "progress" constant silentOptionName (line 22) | silentOptionName = "silent" constant statsOptionName (line 23) | statsOptionName = "stats" constant fastProvideRootOptionName (line 24) | fastProvideRootOptionName = "fast-provide-root" constant fastProvideWaitOptionName (line 25) | fastProvideWaitOptionName = "fast-provide-wait" type OutputObject (line 50) | type OutputObject struct type ResolveOutput (line 55) | type ResolveOutput struct type CarImportStats (line 60) | type CarImportStats struct type CarImportOutput (line 66) | type CarImportOutput struct type RootMeta (line 72) | type RootMeta struct type DagStat (line 296) | type DagStat struct method String (line 302) | func (s *DagStat) String() string { method MarshalJSON (line 306) | func (s *DagStat) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 322) | func (s *DagStat) UnmarshalJSON(data []byte) error { type DagStatSummary (line 346) | type DagStatSummary struct method String (line 355) | func (s *DagStatSummary) String() string { method incrementTotalSize (line 363) | func (s *DagStatSummary) incrementTotalSize(size uint64) { method incrementRedundantSize (line 367) | func (s *DagStatSummary) incrementRedundantSize(size uint64) { method appendStats (line 371) | func (s *DagStatSummary) appendStats(stats *DagStat) { method calculateSummary (line 375) | func (s *DagStatSummary) calculateSummary() { FILE: core/commands/dag/export.go function dagExport (line 23) | func dagExport(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Env... function finishCLIExport (line 101) | func finishCLIExport(res cmds.Response, re cmds.ResponseEmitter) error { type dagStore (line 157) | type dagStore struct method Get (line 162) | func (ds *dagStore) Get(ctx context.Context, key string) ([]byte, erro... method Has (line 180) | func (ds *dagStore) Has(ctx context.Context, key string) (bool, error) { function cidFromBinString (line 191) | func cidFromBinString(key string) (cid.Cid, error) { FILE: core/commands/dag/get.go function dagGet (line 20) | func dagGet(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Enviro... FILE: core/commands/dag/import.go function dagImport (line 25) | func dagImport(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Env... FILE: core/commands/dag/put.go function dagPut (line 30) | func dagPut(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Enviro... FILE: core/commands/dag/resolve.go function dagResolve (line 11) | func dagResolve(req *cmds.Request, res cmds.ResponseEmitter, env cmds.En... FILE: core/commands/dag/stat.go function dagStat (line 22) | func dagStat(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Envir... function finishCLIStat (line 91) | func finishCLIStat(res cmds.Response, re cmds.ResponseEmitter) error { FILE: core/commands/dht.go type kademlia (line 35) | type kademlia interface FILE: core/commands/dht_test.go function TestKeyTranslation (line 12) | func TestKeyTranslation(t *testing.T) { FILE: core/commands/diag.go constant diagDatastoreHexOptionName (line 78) | diagDatastoreHexOptionName = "hex" type diagDatastoreGetResult (line 80) | type diagDatastoreGetResult struct function openDiagDatastore (line 89) | func openDiagDatastore(env cmds.Environment) (datastore.Datastore, func(... type diagDatastoreCountResult (line 216) | type diagDatastoreCountResult struct FILE: core/commands/e/error.go function TypeErr (line 9) | func TypeErr(expected, actual any) error { type HandlerError (line 17) | type HandlerError struct method Error (line 23) | func (err HandlerError) Error() string { function New (line 28) | func New(err error) HandlerError { FILE: core/commands/external.go function ExternalBinary (line 14) | func ExternalBinary(instructions string) *cmds.Command { FILE: core/commands/extra.go function CreateCmdExtras (line 7) | func CreateCmdExtras(opts ...func(e *cmds.Extra)) *cmds.Extra { type doesNotUseRepo (line 15) | type doesNotUseRepo struct function SetDoesNotUseRepo (line 17) | func SetDoesNotUseRepo(val bool) func(e *cmds.Extra) { function GetDoesNotUseRepo (line 23) | func GetDoesNotUseRepo(e *cmds.Extra) (val bool, found bool) { type doesNotUseConfigAsInput (line 33) | type doesNotUseConfigAsInput struct function SetDoesNotUseConfigAsInput (line 35) | func SetDoesNotUseConfigAsInput(val bool) func(e *cmds.Extra) { function GetDoesNotUseConfigAsInput (line 41) | func GetDoesNotUseConfigAsInput(e *cmds.Extra) (val bool, found bool) { type preemptsAutoUpdate (line 47) | type preemptsAutoUpdate struct function SetPreemptsAutoUpdate (line 49) | func SetPreemptsAutoUpdate(val bool) func(e *cmds.Extra) { function GetPreemptsAutoUpdate (line 55) | func GetPreemptsAutoUpdate(e *cmds.Extra) (val bool, found bool) { function getBoolFlag (line 59) | func getBoolFlag(e *cmds.Extra, key any) (val bool, found bool) { FILE: core/commands/files.go function updateNoFlushCounter (line 56) | func updateNoFlushCounter(nd *core.IpfsNode, flush bool) error { constant filesCidVersionOptionName (line 146) | filesCidVersionOptionName = "cid-version" constant filesHashOptionName (line 147) | filesHashOptionName = "hash" type statOutput (line 157) | type statOutput struct method MarshalJSON (line 171) | func (s *statOutput) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 184) | func (s *statOutput) UnmarshalJSON(data []byte) error { constant defaultStatFormat (line 206) | defaultStatFormat = ` constant filesFormatOptionName (line 213) | filesFormatOptionName = "format" constant filesSizeOptionName (line 214) | filesSizeOptionName = "size" constant filesWithLocalOptionName (line 215) | filesWithLocalOptionName = "with-local" constant filesStatUnspecified (line 216) | filesStatUnspecified = "not set" function moreThanOne (line 341) | func moreThanOne(a, b, c bool) bool { function statGetFormatOptions (line 345) | func statGetFormatOptions(req *cmds.Request) (string, error) { function statNode (line 363) | func statNode(nd ipld.Node, enc cidenc.Encoder) (*statOutput, error) { function statProtoNode (line 387) | func statProtoNode(n *dag.ProtoNode, enc cidenc.Encoder, cid cid.Cid, cu... function walkBlock (line 425) | func walkBlock(ctx context.Context, dagserv ipld.DAGService, nd ipld.Nod... function getNodeFromPath (line 599) | func getNodeFromPath(ctx context.Context, node *core.IpfsNode, api iface... function unlinkNodeIfExists (line 618) | func unlinkNodeIfExists(node *core.IpfsNode, path string) error { type filesLsOutput (line 647) | type filesLsOutput struct constant longOptionName (line 652) | longOptionName = "long" constant dontSortOptionName (line 653) | dontSortOptionName = "U" constant filesOffsetOptionName (line 787) | filesOffsetOptionName = "offset" constant filesCountOptionName (line 788) | filesCountOptionName = "count" type contextReader (line 871) | type contextReader interface type contextReaderWrapper (line 875) | type contextReaderWrapper struct method Read (line 880) | func (crw *contextReaderWrapper) Read(b []byte) (int, error) { constant filesCreateOptionName (line 951) | filesCreateOptionName = "create" constant filesParentsOptionName (line 952) | filesParentsOptionName = "parents" constant filesTruncateOptionName (line 953) | filesTruncateOptionName = "truncate" constant filesRawLeavesOptionName (line 954) | filesRawLeavesOptionName = "raw-leaves" constant filesFlushOptionName (line 955) | filesFlushOptionName = "flush" type flushRes (line 1218) | type flushRes struct function updatePath (line 1313) | func updatePath(rt *mfs.Root, pth string, builder cid.Builder) error { function removePath (line 1396) | func removePath(filesRoot *mfs.Root, path string, force bool, dashr bool... function getPrefixNew (line 1449) | func getPrefixNew(req *cmds.Request, importCfg *config.Import) (cid.Buil... function getPrefix (line 1488) | func getPrefix(req *cmds.Request, importCfg *config.Import) (cid.Builder... function ensureContainingDirectoryExists (line 1527) | func ensureContainingDirectoryExists(r *mfs.Root, path string, builder c... function getFileHandle (line 1542) | func getFileHandle(r *mfs.Root, path string, create bool, builder cid.Bu... function checkPath (line 1594) | func checkPath(p string) (string, error) { function getParentDir (line 1610) | func getParentDir(root *mfs.Root, dir string) (*mfs.Directory, error) { constant chrootConfirmOptionName (line 1706) | chrootConfirmOptionName = "confirm" FILE: core/commands/files_test.go function TestFilesCp_DagCborNodeFails (line 13) | func TestFilesCp_DagCborNodeFails(t *testing.T) { FILE: core/commands/filestore.go constant fileOrderOptionName (line 30) | fileOrderOptionName = "file-order" constant removeBadBlocksOptionName (line 31) | removeBadBlocksOptionName = "remove-bad-blocks" function getFilestore (line 253) | func getFilestore(env cmds.Environment) (*core.IpfsNode, *filestore.File... function listByArgs (line 265) | func listByArgs(ctx context.Context, res cmds.ResponseEmitter, fs *files... FILE: core/commands/get.go constant outputOptionName (line 28) | outputOptionName = "output" constant archiveOptionName (line 29) | archiveOptionName = "archive" constant compressOptionName (line 30) | compressOptionName = "compress" constant compressionLevelOptionName (line 31) | compressionLevelOptionName = "compression-level" type clearlineReader (line 159) | type clearlineReader struct method Read (line 164) | func (r *clearlineReader) Read(p []byte) (n int, err error) { function progressBarForReader (line 173) | func progressBarForReader(out io.Writer, r io.Reader, l int64) (*pb.Prog... function makeProgressBar (line 179) | func makeProgressBar(out io.Writer, l int64) *pb.ProgressBar { function getOutPath (line 195) | func getOutPath(req *cmds.Request) string { type getWriter (line 205) | type getWriter struct method Write (line 215) | func (gw *getWriter) Write(r io.Reader, fpath string) error { method writeArchive (line 222) | func (gw *getWriter) writeArchive(r io.Reader, fpath string) error { method writeExtracted (line 256) | func (gw *getWriter) writeExtracted(r io.Reader, fpath string) error { function getCompressOptions (line 271) | func getCompressOptions(req *cmds.Request) (int, error) { type identityWriteCloser (line 289) | type identityWriteCloser struct method Write (line 293) | func (i *identityWriteCloser) Write(p []byte) (int, error) { method Close (line 297) | func (i *identityWriteCloser) Close() error { function fileArchive (line 301) | func fileArchive(f files.Node, name string, archive bool, compression in... function newMaybeGzWriter (line 375) | func newMaybeGzWriter(w io.Writer, compression int) (io.WriteCloser, err... FILE: core/commands/get_test.go function TestGetOutputPath (line 10) | func TestGetOutputPath(t *testing.T) { FILE: core/commands/helptext_test.go function checkHelptextRecursive (line 10) | func checkHelptextRecursive(t *testing.T, name []string, c *cmds.Command) { function TestHelptexts (line 51) | func TestHelptexts(t *testing.T) { FILE: core/commands/id.go constant offlineIDErrorMessage (line 27) | offlineIDErrorMessage = "'ipfs id' cannot query information on remote pe... type IdOutput (line 29) | type IdOutput struct constant formatOptionName (line 38) | formatOptionName = "format" constant idFormatOptionName (line 39) | idFormatOptionName = "peerid-base" function printPeer (line 149) | func printPeer(keyEnc ke.KeyEncoder, ps pstore.Peerstore, p peer.ID) (an... function printSelf (line 192) | func printSelf(keyEnc ke.KeyEncoder, node *core.IpfsNode) (any, error) { FILE: core/commands/keyencode/keyencode.go constant ipnsKeyFormatOptionName (line 9) | ipnsKeyFormatOptionName = "ipns-base" type KeyEncoder (line 13) | type KeyEncoder struct method FormatID (line 30) | func (enc KeyEncoder) FormatID(id peer.ID) string { function KeyEncoderFromString (line 17) | func KeyEncoderFromString(formatLabel string) (KeyEncoder, error) { FILE: core/commands/keystore.go type KeyOutput (line 62) | type KeyOutput struct type KeyOutputList (line 67) | type KeyOutputList struct type KeyRenameOutput (line 72) | type KeyRenameOutput struct constant keyStoreAlgorithmDefault (line 80) | keyStoreAlgorithmDefault = options.Ed25519Key constant keyStoreTypeOptionName (line 81) | keyStoreTypeOptionName = "type" constant keyStoreSizeOptionName (line 82) | keyStoreSizeOptionName = "size" constant oldKeyOptionName (line 83) | oldKeyOptionName = "oldkey" constant keyFormatOptionName (line 146) | keyFormatOptionName = "format" constant keyFormatPemCleartextOption (line 147) | keyFormatPemCleartextOption = "pem-pkcs8-cleartext" constant keyFormatLibp2pCleartextOption (line 148) | keyFormatLibp2pCleartextOption = "libp2p-protobuf-cleartext" constant keyAllowAnyTypeOptionName (line 149) | keyAllowAnyTypeOptionName = "allow-any-key-type" constant keyStoreForceOptionName (line 504) | keyStoreForceOptionName = "force" function doRotate (line 640) | func doRotate(out io.Writer, repoRoot string, oldKey string, algorithm s... function keyOutputListEncoders (line 690) | func keyOutputListEncoders() cmds.EncoderFunc { type KeySignOutput (line 707) | type KeySignOutput struct type KeyVerifyOutput (line 773) | type KeyVerifyOutput struct function DaemonNotRunning (line 842) | func DaemonNotRunning(req *cmds.Request, env cmds.Environment) error { FILE: core/commands/log.go constant allLogSubsystems (line 15) | allLogSubsystems = "*" constant allLogSubsystemsAlias (line 18) | allLogSubsystemsAlias = "all" constant defaultLogLevel (line 21) | defaultLogLevel = "default" constant defaultSubsystemKey (line 25) | defaultSubsystemKey = "(default)" constant logLevelOption (line 28) | logLevelOption = "log-level" constant noSubsystemSpecified (line 30) | noSubsystemSpecified = "" type logLevelOutput (line 33) | type logLevelOutput struct FILE: core/commands/ls.go type LsLink (line 24) | type LsLink struct type LsObject (line 35) | type LsObject struct type LsOutput (line 42) | type LsOutput struct constant lsHeadersOptionNameTime (line 47) | lsHeadersOptionNameTime = "headers" constant lsResolveTypeOptionName (line 48) | lsResolveTypeOptionName = "resolve-type" constant lsSizeOptionName (line 49) | lsSizeOptionName = "size" constant lsStreamOptionName (line 50) | lsStreamOptionName = "stream" constant lsLongOptionName (line 51) | lsLongOptionName = "long" function formatMode (line 249) | func formatMode(mode os.FileMode) string { function permBit (line 318) | func permBit(mode os.FileMode, bit os.FileMode, char byte) byte { function formatModTime (line 332) | func formatModTime(t time.Time) string { function tabularOutput (line 348) | func tabularOutput(req *cmds.Request, w io.Writer, out *LsOutput, lastOb... FILE: core/commands/ls_test.go function TestFormatMode (line 11) | func TestFormatMode(t *testing.T) { function TestFormatModTime (line 141) | func TestFormatModTime(t *testing.T) { FILE: core/commands/mount_unix.go constant mountIPFSPathOptionName (line 18) | mountIPFSPathOptionName = "ipfs-path" constant mountIPNSPathOptionName (line 19) | mountIPNSPathOptionName = "ipns-path" constant mountMFSPathOptionName (line 20) | mountMFSPathOptionName = "mfs-path" FILE: core/commands/multibase.go constant mbaseOptionName (line 28) | mbaseOptionName = "b" FILE: core/commands/name/ipns.go type ResolvedPath (line 20) | type ResolvedPath struct constant recursiveOptionName (line 25) | recursiveOptionName = "recursive" constant nocacheOptionName (line 26) | nocacheOptionName = "nocache" constant dhtRecordCountOptionName (line 27) | dhtRecordCountOptionName = "dht-record-count" constant dhtTimeoutOptionName (line 28) | dhtTimeoutOptionName = "dht-timeout" constant streamOptionName (line 29) | streamOptionName = "stream" FILE: core/commands/name/ipnsps.go type ipnsPubsubState (line 15) | type ipnsPubsubState struct type ipnsPubsubCancel (line 19) | type ipnsPubsubCancel struct type stringList (line 23) | type stringList struct function stringListEncoder (line 166) | func stringListEncoder() cmds.EncoderFunc { FILE: core/commands/name/name.go type IpnsEntry (line 21) | type IpnsEntry struct type IpnsInspectValidation (line 86) | type IpnsInspectValidation struct type IpnsInspectEntry (line 94) | type IpnsInspectEntry struct type IpnsInspectResult (line 102) | type IpnsInspectResult struct constant forceOptionName (line 333) | forceOptionName = "force" constant putAllowOfflineOption (line 334) | putAllowOfflineOption = "allow-offline" constant allowDelegatedOption (line 335) | allowDelegatedOption = "allow-delegated" constant putQuietOptionName (line 336) | putQuietOptionName = "quiet" constant maxIPNSRecordSize (line 337) | maxIPNSRecordSize = 10 << 10 FILE: core/commands/name/publish.go constant ipfsPathOptionName (line 22) | ipfsPathOptionName = "ipfs-path" constant resolveOptionName (line 23) | resolveOptionName = "resolve" constant allowOfflineOptionName (line 24) | allowOfflineOptionName = "allow-offline" constant allowDelegatedOptionName (line 25) | allowDelegatedOptionName = "allow-delegated" constant lifeTimeOptionName (line 26) | lifeTimeOptionName = "lifetime" constant ttlOptionName (line 27) | ttlOptionName = "ttl" constant keyOptionName (line 28) | keyOptionName = "key" constant quieterOptionName (line 29) | quieterOptionName = "quieter" constant v1compatOptionName (line 30) | v1compatOptionName = "v1compat" constant sequenceOptionName (line 31) | sequenceOptionName = "sequence" FILE: core/commands/object/diff.go constant verboseOptionName (line 16) | verboseOptionName = "verbose" type Changes (line 19) | type Changes struct FILE: core/commands/object/object.go type Link (line 9) | type Link struct type Object (line 14) | type Object struct FILE: core/commands/object/patch.go constant createOptionName (line 97) | createOptionName = "create" FILE: core/commands/p2p.go constant P2PProtoPrefix (line 26) | P2PProtoPrefix = "/x/" type P2PListenerInfoOutput (line 29) | type P2PListenerInfoOutput struct type P2PStreamInfoOutput (line 36) | type P2PStreamInfoOutput struct type P2PLsOutput (line 44) | type P2PLsOutput struct type P2PStreamsOutput (line 49) | type P2PStreamsOutput struct type P2PForegroundOutput (line 54) | type P2PForegroundOutput struct constant allowCustomProtocolOptionName (line 61) | allowCustomProtocolOptionName = "allow-custom-protocol" constant reportPeerIDOptionName (line 62) | reportPeerIDOptionName = "report-peer-id" constant foregroundOptionName (line 63) | foregroundOptionName = "foreground" function parseIpfsAddr (line 213) | func parseIpfsAddr(addr string) (*peer.AddrInfo, error) { function checkPort (line 386) | func checkPort(target ma.Multiaddr) error { function forwardLocal (line 419) | func forwardLocal(ctx context.Context, p *p2p.P2P, ps pstore.Peerstore, ... constant p2pHeadersOptionName (line 425) | p2pHeadersOptionName = "headers" constant p2pAllOptionName (line 486) | p2pAllOptionName = "all" constant p2pProtocolOptionName (line 487) | p2pProtocolOptionName = "protocol" constant p2pListenAddressOptionName (line 488) | p2pListenAddressOptionName = "listen-address" constant p2pTargetAddressOptionName (line 489) | p2pTargetAddressOptionName = "target-address" function p2pGetNode (line 690) | func p2pGetNode(env cmds.Environment) (*core.IpfsNode, error) { FILE: core/commands/pin/pin.go type PinOutput (line 44) | type PinOutput struct type AddPinOutput (line 48) | type AddPinOutput struct constant pinRecursiveOptionName (line 55) | pinRecursiveOptionName = "recursive" constant pinProgressOptionName (line 56) | pinProgressOptionName = "progress" function pinAddMany (line 215) | func pinAddMany(ctx context.Context, api coreiface.CoreAPI, enc cidenc.E... constant pinTypeOptionName (line 312) | pinTypeOptionName = "type" constant pinQuietOptionName (line 313) | pinQuietOptionName = "quiet" constant pinStreamOptionName (line 314) | pinStreamOptionName = "stream" constant pinNamesOptionName (line 315) | pinNamesOptionName = "names" type PinLsOutputWrapper (line 483) | type PinLsOutputWrapper struct type PinLsList (line 489) | type PinLsList struct type PinLsType (line 494) | type PinLsType struct type PinLsObject (line 500) | type PinLsObject struct function pinLsKeys (line 506) | func pinLsKeys(req *cmds.Request, mode pin.Mode, displayNames bool, pinn... function pinLsAll (line 560) | func pinLsAll(req *cmds.Request, typeStr string, detailed bool, name str... constant pinUnpinOptionName (line 601) | pinUnpinOptionName = "unpin" constant pinVerboseOptionName (line 676) | pinVerboseOptionName = "verbose" type PinVerifyRes (line 732) | type PinVerifyRes struct method Format (line 825) | func (r PinVerifyRes) Format(out io.Writer) { type PinStatus (line 739) | type PinStatus struct type BadNode (line 745) | type BadNode struct type pinVerifyOpts (line 750) | type pinVerifyOpts struct function pinVerify (line 756) | func pinVerify(ctx context.Context, n *core.IpfsNode, opts pinVerifyOpts... FILE: core/commands/pin/remotepin.go constant pinNameOptionName (line 58) | pinNameOptionName = "name" constant pinCIDsOptionName (line 59) | pinCIDsOptionName = "cid" constant pinStatusOptionName (line 60) | pinStatusOptionName = "status" constant pinServiceNameOptionName (line 61) | pinServiceNameOptionName = "service" constant pinServiceNameArgName (line 62) | pinServiceNameArgName = pinServiceNameOptionName constant pinServiceEndpointArgName (line 63) | pinServiceEndpointArgName = "endpoint" constant pinServiceKeyArgName (line 64) | pinServiceKeyArgName = "key" constant pinServiceStatOptionName (line 65) | pinServiceStatOptionName = "stat" constant pinBackgroundOptionName (line 66) | pinBackgroundOptionName = "background" constant pinForceOptionName (line 67) | pinForceOptionName = "force" type RemotePinOutput (line 70) | type RemotePinOutput struct function toRemotePinOutput (line 76) | func toRemotePinOutput(ps pinclient.PinStatusGetter) RemotePinOutput { function printRemotePinDetails (line 84) | func printRemotePinDetails(w io.Writer, out *RemotePinOutput) { function lsRemote (line 324) | func lsRemote(ctx context.Context, req *cmds.Request, c *pinclient.Clien... type ServiceDetails (line 690) | type ServiceDetails struct type Stat (line 696) | type Stat struct type PinCount (line 701) | type PinCount struct type PinServicesList (line 709) | type PinServicesList struct method Len (line 713) | func (l PinServicesList) Len() int { method Swap (line 717) | func (l PinServicesList) Swap(i, j int) { method Less (line 722) | func (l PinServicesList) Less(i, j int) bool { function getRemotePinServiceFromRequest (line 727) | func getRemotePinServiceFromRequest(req *cmds.Request, env cmds.Environm... function getRemotePinService (line 743) | func getRemotePinService(env cmds.Environment, name string) (*pinclient.... function getRemotePinServiceInfo (line 754) | func getRemotePinServiceInfo(env cmds.Environment, name string) (endpoin... function normalizeEndpoint (line 782) | func normalizeEndpoint(endpoint string) (string, error) { FILE: core/commands/pin/remotepin_test.go function TestNormalizeEndpoint (line 7) | func TestNormalizeEndpoint(t *testing.T) { FILE: core/commands/ping.go constant kPingTimeout (line 20) | kPingTimeout = 10 * time.Second type PingResult (line 22) | type PingResult struct constant pingCountOptionName (line 29) | pingCountOptionName = "count" function ParsePeerParam (line 206) | func ParsePeerParam(text string) (ma.Multiaddr, peer.ID, error) { FILE: core/commands/profile.go type profileResult (line 19) | type profileResult struct constant collectorsOptionName (line 24) | collectorsOptionName = "collectors" constant profileTimeOption (line 25) | profileTimeOption = "profile-time" constant mutexProfileFractionOption (line 26) | mutexProfileFractionOption = "mutex-profile-fraction" constant blockProfileRateOption (line 27) | blockProfileRateOption = "block-profile-rate" FILE: core/commands/provide.go constant provideQuietOptionName (line 29) | provideQuietOptionName = "quiet" constant provideLanOptionName (line 30) | provideLanOptionName = "lan" constant provideStatAllOptionName (line 32) | provideStatAllOptionName = "all" constant provideStatCompactOptionName (line 33) | provideStatCompactOptionName = "compact" constant provideStatNetworkOptionName (line 34) | provideStatNetworkOptionName = "network" constant provideStatConnectivityOptionName (line 35) | provideStatConnectivityOptionName = "connectivity" constant provideStatOperationsOptionName (line 36) | provideStatOperationsOptionName = "operations" constant provideStatTimingsOptionName (line 37) | provideStatTimingsOptionName = "timings" constant provideStatScheduleOptionName (line 38) | provideStatScheduleOptionName = "schedule" constant provideStatQueuesOptionName (line 39) | provideStatQueuesOptionName = "queues" constant provideStatWorkersOptionName (line 40) | provideStatWorkersOptionName = "workers" constant lowWorkerThreshold (line 43) | lowWorkerThreshold = 2 type provideStats (line 133) | type provideStats struct function extractSweepingProvider (line 142) | func extractSweepingProvider(prov any, useLAN bool) *provider.SweepingPr... function humanDuration (line 519) | func humanDuration(val time.Duration) string { function humanDurationOrNA (line 526) | func humanDurationOrNA(val time.Duration) string { function humanTime (line 533) | func humanTime(val time.Time) string { function humanNumber (line 540) | func humanNumber[T constraints.Float | constraints.Integer](n T) string { function humanNumberOrNA (line 551) | func humanNumberOrNA[T constraints.Float | constraints.Integer](n T) str... function humanFloatOrNA (line 561) | func humanFloatOrNA(val float64) string { function humanSI (line 568) | func humanSI[T constraints.Float | constraints.Integer](val T, decimals ... function humanInt (line 573) | func humanInt[T constraints.Integer](val T) string { function humanFull (line 577) | func humanFull(val float64, decimals int) string { function provideCIDSync (line 593) | func provideCIDSync(ctx context.Context, router routing.Routing, c cid.C... FILE: core/commands/pubsub.go type pubsubMessage (line 51) | type pubsubMessage struct function multibaseDecodedStringListEncoder (line 264) | func multibaseDecodedStringListEncoder(req *cmds.Request, w io.Writer, l... function safeTextListEncoder (line 278) | func safeTextListEncoder(req *cmds.Request, w io.Writer, list *stringLis... function urlArgsEncoder (line 354) | func urlArgsEncoder(req *cmds.Request, env cmds.Environment) error { function urlArgsDecoder (line 364) | func urlArgsDecoder(req *cmds.Request, env cmds.Environment) error { type pubsubResetResult (line 385) | type pubsubResetResult struct FILE: core/commands/refs.go type KeyList (line 33) | type KeyList struct constant refsFormatOptionName (line 38) | refsFormatOptionName = "format" constant refsEdgesOptionName (line 39) | refsEdgesOptionName = "edges" constant refsUniqueOptionName (line 40) | refsUniqueOptionName = "unique" constant refsRecursiveOptionName (line 41) | refsRecursiveOptionName = "recursive" constant refsMaxDepthOptionName (line 42) | refsMaxDepthOptionName = "max-depth" function objectsForPaths (line 171) | func objectsForPaths(ctx context.Context, n iface.CoreAPI, paths []strin... type RefWrapper (line 187) | type RefWrapper struct type RefWriter (line 192) | type RefWriter struct method WriteRefs (line 205) | func (rw *RefWriter) WriteRefs(c cid.Cid, enc cidenc.Encoder) (int, er... method writeRefsRecursive (line 213) | func (rw *RefWriter) writeRefsRecursive(n ipld.Node, depth int, enc ci... method visit (line 275) | func (rw *RefWriter) visit(c cid.Cid, depth int) (bool, bool) { method WriteEdge (line 324) | func (rw *RefWriter) WriteEdge(from, to cid.Cid, linkname string, enc ... FILE: core/commands/repo.go type RepoVersion (line 28) | type RepoVersion struct type GcResult (line 51) | type GcResult struct constant repoStreamErrorsOptionName (line 57) | repoStreamErrorsOptionName = "stream-errors" constant repoQuietOptionName (line 58) | repoQuietOptionName = "quiet" constant repoSilentOptionName (line 59) | repoSilentOptionName = "silent" constant repoAllowDowngradeOptionName (line 60) | repoAllowDowngradeOptionName = "allow-downgrade" constant repoToVersionOptionName (line 61) | repoToVersionOptionName = "to" constant repoSizeOnlyOptionName (line 150) | repoSizeOnlyOptionName = "size-only" constant repoHumanOptionName (line 151) | repoHumanOptionName = "human" type VerifyProgress (line 233) | type VerifyProgress struct type verifyState (line 240) | type verifyState constant verifyStateValid (line 243) | verifyStateValid verifyState = iota constant verifyStateCorrupt (line 244) | verifyStateCorrupt constant verifyStateCorruptRemoved (line 245) | verifyStateCorruptRemoved constant verifyStateCorruptRemoveFailed (line 246) | verifyStateCorruptRemoveFailed constant verifyStateCorruptHealed (line 247) | verifyStateCorruptHealed constant verifyStateCorruptHealFailed (line 248) | verifyStateCorruptHealFailed constant verifyWorkerMultiplier (line 255) | verifyWorkerMultiplier = 2 type verifyResult (line 261) | type verifyResult struct function verifyWorkerRun (line 272) | func verifyWorkerRun(ctx context.Context, wg *sync.WaitGroup, keys <-cha... function verifyResultChan (line 351) | func verifyResultChan(ctx context.Context, keys <-chan cid.Cid, bs bstor... FILE: core/commands/repo_verify_test.go function TestVerifyWorkerHealTimeout (line 32) | func TestVerifyWorkerHealTimeout(t *testing.T) { type mockBlockstore (line 266) | type mockBlockstore struct method Get (line 271) | func (m *mockBlockstore) Get(ctx context.Context, c cid.Cid) (blocks.B... method DeleteBlock (line 278) | func (m *mockBlockstore) DeleteBlock(ctx context.Context, c cid.Cid) e... method Has (line 282) | func (m *mockBlockstore) Has(ctx context.Context, c cid.Cid) (bool, er... method GetSize (line 286) | func (m *mockBlockstore) GetSize(ctx context.Context, c cid.Cid) (int,... method Put (line 293) | func (m *mockBlockstore) Put(ctx context.Context, b blocks.Block) error { method PutMany (line 297) | func (m *mockBlockstore) PutMany(ctx context.Context, bs []blocks.Bloc... method AllKeysChan (line 301) | func (m *mockBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.... method HashOnRead (line 305) | func (m *mockBlockstore) HashOnRead(enabled bool) { type mockBlockAPI (line 309) | type mockBlockAPI struct method Get (line 315) | func (m *mockBlockAPI) Get(ctx context.Context, p path.Path) (io.Reade... method Put (line 330) | func (m *mockBlockAPI) Put(ctx context.Context, r io.Reader, opts ...o... method Rm (line 334) | func (m *mockBlockAPI) Rm(ctx context.Context, p path.Path, opts ...op... method Stat (line 338) | func (m *mockBlockAPI) Stat(ctx context.Context, p path.Path) (coreifa... type mockCoreAPI (line 343) | type mockCoreAPI struct method Block (line 347) | func (m *mockCoreAPI) Block() coreiface.BlockAPI { method Unixfs (line 351) | func (m *mockCoreAPI) Unixfs() coreiface.UnixfsAPI { return nil } method Dag (line 352) | func (m *mockCoreAPI) Dag() coreiface.APIDagService { return nil } method Name (line 353) | func (m *mockCoreAPI) Name() coreiface.NameAPI { return nil } method Key (line 354) | func (m *mockCoreAPI) Key() coreiface.KeyAPI { return nil } method Pin (line 355) | func (m *mockCoreAPI) Pin() coreiface.PinAPI { return nil } method Object (line 356) | func (m *mockCoreAPI) Object() coreiface.ObjectAPI { return nil } method Swarm (line 357) | func (m *mockCoreAPI) Swarm() coreiface.SwarmAPI { return nil } method PubSub (line 358) | func (m *mockCoreAPI) PubSub() coreiface.PubSubAPI { return nil } method Routing (line 359) | func (m *mockCoreAPI) Routing() coreiface.RoutingAPI { return nil } method ResolvePath (line 361) | func (m *mockCoreAPI) ResolvePath(ctx context.Context, p path.Path) (p... method ResolveNode (line 365) | func (m *mockCoreAPI) ResolveNode(ctx context.Context, p path.Path) (i... method WithOptions (line 369) | func (m *mockCoreAPI) WithOptions(...options.ApiOption) (coreiface.Cor... FILE: core/commands/resolve.go constant resolveRecursiveOptionName (line 22) | resolveRecursiveOptionName = "recursive" constant resolveDhtRecordCountOptionName (line 23) | resolveDhtRecordCountOptionName = "dht-record-count" constant resolveDhtTimeoutOptionName (line 24) | resolveDhtTimeoutOptionName = "dht-timeout" FILE: core/commands/root.go constant RepoDirOption (line 24) | RepoDirOption = "repo-dir" constant ConfigFileOption (line 25) | ConfigFileOption = "config-file" constant ConfigOption (line 26) | ConfigOption = "config" constant DebugOption (line 27) | DebugOption = "debug" constant LocalOption (line 28) | LocalOption = "local" constant OfflineOption (line 29) | OfflineOption = "offline" constant ApiOption (line 30) | ApiOption = "api" constant ApiAuthOption (line 31) | ApiAuthOption = "api-auth" function init (line 167) | func init() { type MessageOutput (line 172) | type MessageOutput struct FILE: core/commands/root_test.go function TestCommandTree (line 7) | func TestCommandTree(t *testing.T) { FILE: core/commands/routing.go constant dhtVerboseOptionName (line 33) | dhtVerboseOptionName = "verbose" constant numProvidersOptionName (line 34) | numProvidersOptionName = "num-providers" constant allowOfflineOptionName (line 35) | allowOfflineOptionName = "allow-offline" constant recursiveOptionName (line 141) | recursiveOptionName = "recursive" function provideCids (line 314) | func provideCids(prov node.DHTProvider, cids []cid.Cid) error { function provideCidsRec (line 323) | func provideCidsRec(ctx context.Context, prov node.DHTProvider, dserv ip... type printFunc (line 559) | type printFunc type pfuncMap (line 560) | type pfuncMap function printEvent (line 563) | func printEvent(obj *routing.QueryEvent, out io.Writer, verbose bool, ov... function escapeDhtKey (line 614) | func escapeDhtKey(s string) (string, error) { FILE: core/commands/stat.go constant statPeerOptionName (line 40) | statPeerOptionName = "peer" constant statProtoOptionName (line 41) | statProtoOptionName = "proto" constant statPollOptionName (line 42) | statPollOptionName = "poll" constant statIntervalOptionName (line 43) | statIntervalOptionName = "interval" function printStats (line 191) | func printStats(out io.Writer, bs *metrics.Stats) { FILE: core/commands/stat_dht.go type dhtPeerInfo (line 20) | type dhtPeerInfo struct type dhtStat (line 28) | type dhtStat struct type dhtBucket (line 33) | type dhtBucket struct FILE: core/commands/swarm.go constant dnsResolveTimeout (line 39) | dnsResolveTimeout = 10 * time.Second type stringList (line 42) | type stringList struct type addrMap (line 46) | type addrMap struct constant swarmVerboseOptionName (line 72) | swarmVerboseOptionName = "verbose" constant swarmStreamsOptionName (line 73) | swarmStreamsOptionName = "streams" constant swarmLatencyOptionName (line 74) | swarmLatencyOptionName = "latency" constant swarmDirectionOptionName (line 75) | swarmDirectionOptionName = "direction" constant swarmResetLimitsOptionName (line 76) | swarmResetLimitsOptionName = "reset" constant swarmUsedResourcesPercentageName (line 77) | swarmUsedResourcesPercentageName = "min-used-limit-perc" constant swarmIdentifyOptionName (line 78) | swarmIdentifyOptionName = "identify" type peeringResult (line 81) | type peeringResult struct type addrInfos (line 189) | type addrInfos struct type streamInfo (line 427) | type streamInfo struct type connInfo (line 431) | type connInfo struct method Sort (line 441) | func (ci *connInfo) Sort() { method identifyPeer (line 457) | func (ci *connInfo) identifyPeer(ps pstore.Peerstore, p peer.ID) (IdOu... type connInfos (line 447) | type connInfos struct method Sort (line 451) | func (ci *connInfos) Sort() { function directionString (line 497) | func directionString(d inet.Direction) string { function parseAddresses (line 761) | func parseAddresses(ctx context.Context, addrs []string, rslv *madns.Res... function resolveAddresses (line 772) | func resolveAddresses(ctx context.Context, addrs []string, rslv *madns.R... function filtersAdd (line 1003) | func filtersAdd(r repo.Repo, cfg *config.Config, filters []string) ([]st... function filtersRemoveAll (line 1039) | func filtersRemoveAll(r repo.Repo, cfg *config.Config) ([]string, error) { function filtersRemove (line 1050) | func filtersRemove(r repo.Repo, cfg *config.Config, toRemoveFilters []st... FILE: core/commands/swarm_addrs_autonat.go type reachabilityHost (line 14) | type reachabilityHost interface type confirmedAddrsHost (line 19) | type confirmedAddrsHost interface type autoNATResult (line 24) | type autoNATResult struct function multiaddrsToStrings (line 31) | func multiaddrsToStrings(addrs []ma.Multiaddr) []string { function writeAddrSection (line 39) | func writeAddrSection(w io.Writer, label string, addrs []string) { FILE: core/commands/sysdiag.go function getInfo (line 37) | func getInfo(nd *core.IpfsNode) (map[string]any, error) { function runtimeInfo (line 69) | func runtimeInfo(out map[string]any) error { function envVarInfo (line 83) | func envVarInfo(out map[string]any) error { function diskSpaceInfo (line 92) | func diskSpaceInfo(out map[string]any) error { function memInfo (line 111) | func memInfo(out map[string]any) error { function netInfo (line 125) | func netInfo(online bool, out map[string]any) error { FILE: core/commands/version.go constant versionNumberOptionName (line 22) | versionNumberOptionName = "number" constant versionCommitOptionName (line 23) | versionCommitOptionName = "commit" constant versionRepoOptionName (line 24) | versionRepoOptionName = "repo" constant versionAllOptionName (line 25) | versionAllOptionName = "all" constant versionCheckThresholdOptionName (line 26) | versionCheckThresholdOptionName = "min-percent" type Dependency (line 90) | type Dependency struct constant pkgVersionFmt (line 97) | pkgVersionFmt = "%s@%s" constant DefaultMinimalVersionFraction (line 143) | DefaultMinimalVersionFraction = 0.05 type VersionCheckOutput (line 145) | type VersionCheckOutput struct function DetectNewKuboVersion (line 200) | func DetectNewKuboVersion(nd *core.IpfsNode, minPercent int64) (VersionC... FILE: core/core.go type IpfsNode (line 67) | type IpfsNode struct method Close (line 144) | func (n *IpfsNode) Close() error { method HasActiveDHTClient (line 161) | func (n *IpfsNode) HasActiveDHTClient() bool { method Context (line 185) | func (n *IpfsNode) Context() context.Context { method Bootstrap (line 193) | func (n *IpfsNode) Bootstrap(cfg bootstrap.BootstrapConfig) error { method loadBootstrapPeers (line 248) | func (n *IpfsNode) loadBootstrapPeers() ([]peer.AddrInfo, error) { method saveTempBootstrapPeers (line 258) | func (n *IpfsNode) saveTempBootstrapPeers(ctx context.Context, peerLis... method loadTempBootstrapPeers (line 271) | func (n *IpfsNode) loadTempBootstrapPeers(ctx context.Context) ([]peer... type Mounts (line 137) | type Mounts struct type ConstructPeerHostOpts (line 285) | type ConstructPeerHostOpts struct FILE: core/core_test.go function TestInitialization (line 28) | func TestInitialization(t *testing.T) { function mockHostOption (line 84) | func mockHostOption(mn mocknet.Mocknet) libp2p.HostOption { function TestHasActiveDHTClient (line 99) | func TestHasActiveDHTClient(t *testing.T) { FILE: core/coreapi/block.go type BlockAPI (line 22) | type BlockAPI method Put (line 29) | func (api *BlockAPI) Put(ctx context.Context, src io.Reader, opts ...c... method Get (line 74) | func (api *BlockAPI) Get(ctx context.Context, p path.Path) (io.Reader,... method Rm (line 90) | func (api *BlockAPI) Rm(ctx context.Context, p path.Path, opts ...caop... method Stat (line 131) | func (api *BlockAPI) Stat(ctx context.Context, p path.Path) (coreiface... method core (line 159) | func (api *BlockAPI) core() coreiface.CoreAPI { type BlockStat (line 24) | type BlockStat struct method Size (line 151) | func (bs *BlockStat) Size() int { method Path (line 155) | func (bs *BlockStat) Path() path.ImmutablePath { FILE: core/coreapi/coreapi.go type CoreAPI (line 46) | type CoreAPI struct method Unixfs (line 96) | func (api *CoreAPI) Unixfs() coreiface.UnixfsAPI { method Block (line 101) | func (api *CoreAPI) Block() coreiface.BlockAPI { method Dag (line 106) | func (api *CoreAPI) Dag() coreiface.APIDagService { method Name (line 114) | func (api *CoreAPI) Name() coreiface.NameAPI { method Key (line 119) | func (api *CoreAPI) Key() coreiface.KeyAPI { method Object (line 124) | func (api *CoreAPI) Object() coreiface.ObjectAPI { method Pin (line 129) | func (api *CoreAPI) Pin() coreiface.PinAPI { method Swarm (line 134) | func (api *CoreAPI) Swarm() coreiface.SwarmAPI { method PubSub (line 139) | func (api *CoreAPI) PubSub() coreiface.PubSubAPI { method Routing (line 144) | func (api *CoreAPI) Routing() coreiface.RoutingAPI { method WithOptions (line 149) | func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.... method getSession (line 256) | func (api *CoreAPI) getSession(ctx context.Context) *CoreAPI { function NewCoreAPI (line 86) | func NewCoreAPI(n *core.IpfsNode, opts ...options.ApiOption) (coreiface.... FILE: core/coreapi/dag.go type dagAPI (line 16) | type dagAPI struct method Pinning (line 63) | func (api *dagAPI) Pinning() ipld.NodeAdder { method Session (line 67) | func (api *dagAPI) Session(ctx context.Context) ipld.NodeGetter { type pinningAdder (line 22) | type pinningAdder method Add (line 24) | func (adder *pinningAdder) Add(ctx context.Context, nd ipld.Node) error { method AddMany (line 40) | func (adder *pinningAdder) AddMany(ctx context.Context, nds []ipld.Nod... FILE: core/coreapi/key.go type KeyAPI (line 21) | type KeyAPI method Generate (line 58) | func (api *KeyAPI) Generate(ctx context.Context, name string, opts ...... method List (line 118) | func (api *KeyAPI) List(ctx context.Context) ([]coreiface.Key, error) { method Rename (line 161) | func (api *KeyAPI) Rename(ctx context.Context, oldName string, newName... method Remove (line 231) | func (api *KeyAPI) Remove(ctx context.Context, name string) (coreiface... method Self (line 261) | func (api *KeyAPI) Self(ctx context.Context) (coreiface.Key, error) { method Sign (line 271) | func (api *KeyAPI) Sign(ctx context.Context, name string, data []byte)... method Verify (line 306) | func (api *KeyAPI) Verify(ctx context.Context, keyOrName string, signa... type key (line 23) | type key struct method Name (line 42) | func (k *key) Name() string { method Path (line 47) | func (k *key) Path() path.Path { method ID (line 52) | func (k *key) ID() peer.ID { function newKey (line 29) | func newKey(name string, pid peer.ID) (*key, error) { constant signedMessagePrefix (line 269) | signedMessagePrefix = "libp2p-key signed message:" FILE: core/coreapi/name.go type NameAPI (line 24) | type NameAPI method Publish (line 27) | func (api *NameAPI) Publish(ctx context.Context, p path.Path, opts ...... method Search (line 102) | func (api *NameAPI) Search(ctx context.Context, name string, opts ...c... method Resolve (line 154) | func (api *NameAPI) Resolve(ctx context.Context, name string, opts ...... function keylookup (line 179) | func keylookup(self ci.PrivKey, kstore keystore.Keystore, k string) (ci.... FILE: core/coreapi/object.go type ObjectAPI (line 18) | type ObjectAPI method AddLink (line 30) | func (api *ObjectAPI) AddLink(ctx context.Context, base path.Path, nam... method RmLink (line 79) | func (api *ObjectAPI) RmLink(ctx context.Context, base path.Path, link... method Diff (line 111) | func (api *ObjectAPI) Diff(ctx context.Context, before path.Path, afte... method core (line 152) | func (api *ObjectAPI) core() coreiface.CoreAPI { type Link (line 20) | type Link struct type Node (line 25) | type Node struct FILE: core/coreapi/path.go method ResolveNode (line 22) | func (api *CoreAPI) ResolveNode(ctx context.Context, p path.Path) (ipld.... method ResolvePath (line 40) | func (api *CoreAPI) ResolvePath(ctx context.Context, p path.Path) (path.... FILE: core/coreapi/pin.go type PinAPI (line 22) | type PinAPI method Add (line 24) | func (api *PinAPI) Add(ctx context.Context, p path.Path, opts ...caopt... method Ls (line 50) | func (api *PinAPI) Ls(ctx context.Context, pins chan<- coreiface.Pin, ... method IsPinned (line 72) | func (api *PinAPI) IsPinned(ctx context.Context, p path.Path, opts ...... method Rm (line 97) | func (api *PinAPI) Rm(ctx context.Context, p path.Path, opts ...caopts... method Update (line 124) | func (api *PinAPI) Update(ctx context.Context, from path.Path, to path... method Verify (line 191) | func (api *PinAPI) Verify(ctx context.Context) (<-chan coreiface.PinSt... method pinLsAll (line 274) | func (api *PinAPI) pinLsAll(ctx context.Context, typeStr string, detai... method core (line 368) | func (api *PinAPI) core() coreiface.CoreAPI { type pinStatus (line 158) | type pinStatus struct method Ok (line 171) | func (s *pinStatus) Ok() bool { method BadNodes (line 175) | func (s *pinStatus) BadNodes() []coreiface.BadPinNode { method Err (line 179) | func (s *pinStatus) Err() error { type badNode (line 166) | type badNode struct method Path (line 183) | func (n *badNode) Path() path.ImmutablePath { method Err (line 187) | func (n *badNode) Err() error { type pinInfo (line 252) | type pinInfo struct method Path (line 258) | func (p *pinInfo) Path() path.ImmutablePath { method Type (line 262) | func (p *pinInfo) Type() string { method Name (line 266) | func (p *pinInfo) Name() string { FILE: core/coreapi/pubsub.go type PubSubAPI (line 17) | type PubSubAPI method Ls (line 27) | func (api *PubSubAPI) Ls(ctx context.Context) ([]string, error) { method Peers (line 39) | func (api *PubSubAPI) Peers(ctx context.Context, opts ...caopts.PubSub... method Publish (line 58) | func (api *PubSubAPI) Publish(ctx context.Context, topic string, data ... method Subscribe (line 71) | func (api *PubSubAPI) Subscribe(ctx context.Context, topic string, opt... method checkNode (line 98) | func (api *PubSubAPI) checkNode() (routing.Routing, error) { type pubSubSubscription (line 19) | type pubSubSubscription struct method Close (line 111) | func (sub *pubSubSubscription) Close() error { method Next (line 116) | func (sub *pubSubSubscription) Next(ctx context.Context) (coreiface.Pu... type pubSubMessage (line 23) | type pubSubMessage struct method From (line 128) | func (msg *pubSubMessage) From() peer.ID { method Data (line 132) | func (msg *pubSubMessage) Data() []byte { method Seq (line 136) | func (msg *pubSubMessage) Seq() []byte { method Topics (line 140) | func (msg *pubSubMessage) Topics() []string { FILE: core/coreapi/routing.go type RoutingAPI (line 26) | type RoutingAPI method Get (line 28) | func (api *RoutingAPI) Get(ctx context.Context, key string) ([]byte, e... method Put (line 41) | func (api *RoutingAPI) Put(ctx context.Context, key string, value []by... method FindPeer (line 75) | func (api *RoutingAPI) FindPeer(ctx context.Context, p peer.ID) (peer.... method FindProviders (line 91) | func (api *RoutingAPI) FindProviders(ctx context.Context, p path.Path,... method Provide (line 120) | func (api *RoutingAPI) Provide(ctx context.Context, path path.Path, op... method core (line 225) | func (api *RoutingAPI) core() coreiface.CoreAPI { function normalizeKey (line 60) | func normalizeKey(s string) (string, error) { function provideKeysRec (line 163) | func provideKeysRec(ctx context.Context, prov node.DHTProvider, bs block... FILE: core/coreapi/swarm.go type SwarmAPI (line 20) | type SwarmAPI method Connect (line 37) | func (api *SwarmAPI) Connect(ctx context.Context, pi peer.AddrInfo) er... method Disconnect (line 57) | func (api *SwarmAPI) Disconnect(ctx context.Context, addr ma.Multiaddr... method KnownAddrs (line 92) | func (api *SwarmAPI) KnownAddrs(ctx context.Context) (map[peer.ID][]ma... method LocalAddrs (line 112) | func (api *SwarmAPI) LocalAddrs(ctx context.Context) ([]ma.Multiaddr, ... method ListenAddrs (line 123) | func (api *SwarmAPI) ListenAddrs(ctx context.Context) ([]ma.Multiaddr,... method Peers (line 134) | func (api *SwarmAPI) Peers(ctx context.Context) ([]coreiface.Connectio... type connInfo (line 22) | type connInfo struct method ID (line 170) | func (ci *connInfo) ID() peer.ID { method Address (line 174) | func (ci *connInfo) Address() ma.Multiaddr { method Direction (line 178) | func (ci *connInfo) Direction() inet.Direction { method Latency (line 182) | func (ci *connInfo) Latency() (time.Duration, error) { method Streams (line 186) | func (ci *connInfo) Streams() ([]protocol.ID, error) { constant connectionManagerTag (line 33) | connectionManagerTag = "user-connect" constant connectionManagerWeight (line 34) | connectionManagerWeight = 100 FILE: core/coreapi/test/api_test.go constant testPeerID (line 30) | testPeerID = "QmTFauExutTsy4XP6JbMFcw2Wa9645HJt2bTqL6qYDCKfe" type NodeProvider (line 32) | type NodeProvider struct method MakeAPISwarm (line 34) | func (NodeProvider) MakeAPISwarm(t *testing.T, ctx context.Context, fu... function TestIface (line 126) | func TestIface(t *testing.T) { FILE: core/coreapi/test/path_test.go function TestPathUnixFSHAMTPartial (line 17) | func TestPathUnixFSHAMTPartial(t *testing.T) { FILE: core/coreapi/unixfs.go type UnixfsAPI (line 38) | type UnixfsAPI method Add (line 42) | func (api *UnixfsAPI) Add(ctx context.Context, files files.Node, opts ... method Get (line 234) | func (api *UnixfsAPI) Get(ctx context.Context, p path.Path) (files.Nod... method Ls (line 250) | func (api *UnixfsAPI) Ls(ctx context.Context, p path.Path, out chan<- ... method processLink (line 282) | func (api *UnixfsAPI) processLink(ctx context.Context, linkres ft.Link... method lsFromDirLinks (line 340) | func (api *UnixfsAPI) lsFromDirLinks(ctx context.Context, dir uio.Dire... method lsFromLinks (line 355) | func (api *UnixfsAPI) lsFromLinks(ctx context.Context, ndlinks []*ipld... method core (line 383) | func (api *UnixfsAPI) core() *CoreAPI { type syncDagService (line 388) | type syncDagService struct method Sync (line 393) | func (s *syncDagService) Sync() error { type providingDagService (line 397) | type providingDagService struct method Add (line 402) | func (pds *providingDagService) Add(ctx context.Context, n ipld.Node) ... method AddMany (line 416) | func (pds *providingDagService) AddMany(ctx context.Context, nds []ipl... FILE: core/corehttp/commands.go constant originEnvKey (line 25) | originEnvKey = "API_ORIGIN" constant originEnvKeyDeprecate (line 26) | originEnvKeyDeprecate = `You are using the ` + originEnvKey + `ENV Varia... constant APIPath (line 37) | APIPath = "/api/v0" function addCORSFromEnv (line 53) | func addCORSFromEnv(c *cmdsHttp.ServerConfig) { function addHeadersFromConfig (line 61) | func addHeadersFromConfig(c *cmdsHttp.ServerConfig, nc *config.Config) { function addCORSDefaults (line 90) | func addCORSDefaults(c *cmdsHttp.ServerConfig) { function patchCORSVars (line 101) | func patchCORSVars(c *cmdsHttp.ServerConfig, addr net.Addr) { function commandsOption (line 124) | func commandsOption(cctx oldcmds.Context, command *cmds.Command) ServeOp... type rpcAuthScopeWithUser (line 157) | type rpcAuthScopeWithUser struct function convertAuthorizationsMap (line 162) | func convertAuthorizationsMap(authScopes map[string]*config.RPCAuthScope... function withAuthSecrets (line 178) | func withAuthSecrets(authorizations map[string]rpcAuthScopeWithUser, nex... function CommandsOption (line 204) | func CommandsOption(cctx oldcmds.Context) ServeOption { function CheckVersionOption (line 209) | func CheckVersionOption() ServeOption { FILE: core/corehttp/corehttp.go constant shutdownTimeout (line 24) | shutdownTimeout = 30 * time.Second type ServeOption (line 30) | type ServeOption function MakeHandler (line 34) | func MakeHandler(n *core.IpfsNode, l net.Listener, options ...ServeOptio... function ListenAndServe (line 63) | func ListenAndServe(n *core.IpfsNode, listeningMultiAddr string, options... function Serve (line 83) | func Serve(node *core.IpfsNode, lis net.Listener, options ...ServeOption... function ServeWithReady (line 97) | func ServeWithReady(node *core.IpfsNode, lis net.Listener, ready chan<- ... FILE: core/corehttp/gateway.go function GatewayOption (line 33) | func GatewayOption(paths ...string) ServeOption { function HostnameOption (line 61) | func HostnameOption() ServeOption { function VersionOption (line 89) | func VersionOption() ServeOption { function Libp2pGatewayOption (line 99) | func Libp2pGatewayOption() ServeOption { function newGatewayBackend (line 144) | func newGatewayBackend(n *core.IpfsNode) (gateway.IPFSBackend, error) { type offlineGatewayErrWrapper (line 195) | type offlineGatewayErrWrapper struct method Get (line 206) | func (o *offlineGatewayErrWrapper) Get(ctx context.Context, path path.... method GetAll (line 212) | func (o *offlineGatewayErrWrapper) GetAll(ctx context.Context, path pa... method GetBlock (line 218) | func (o *offlineGatewayErrWrapper) GetBlock(ctx context.Context, path ... method Head (line 224) | func (o *offlineGatewayErrWrapper) Head(ctx context.Context, path path... method ResolvePath (line 230) | func (o *offlineGatewayErrWrapper) ResolvePath(ctx context.Context, pa... method GetCAR (line 236) | func (o *offlineGatewayErrWrapper) GetCAR(ctx context.Context, path pa... method IsCached (line 242) | func (o *offlineGatewayErrWrapper) IsCached(ctx context.Context, path ... method GetIPNSRecord (line 246) | func (o *offlineGatewayErrWrapper) GetIPNSRecord(ctx context.Context, ... method ResolveMutable (line 252) | func (o *offlineGatewayErrWrapper) ResolveMutable(ctx context.Context,... method GetDNSLinkRecord (line 258) | func (o *offlineGatewayErrWrapper) GetDNSLinkRecord(ctx context.Contex... function offlineErrWrap (line 199) | func offlineErrWrap(err error) error { function staticServerDomainAttrFn (line 279) | func staticServerDomainAttrFn(domain string) func(*http.Request) []attri... function newServerDomainAttrFn (line 291) | func newServerDomainAttrFn(n *core.IpfsNode) func(*http.Request) []attri... function getGatewayConfig (line 366) | func getGatewayConfig(n *core.IpfsNode) (gateway.Config, map[string][]st... FILE: core/corehttp/gateway_test.go type mockNamesys (line 27) | type mockNamesys method Resolve (line 29) | func (m mockNamesys) Resolve(ctx context.Context, p path.Path, opts ..... method ResolveAsync (line 61) | func (m mockNamesys) ResolveAsync(ctx context.Context, p path.Path, op... method Publish (line 69) | func (m mockNamesys) Publish(ctx context.Context, name ci.PrivKey, val... method GetResolver (line 73) | func (m mockNamesys) GetResolver(subs string) (namesys.Resolver, bool) { function newNodeWithMockNamesys (line 77) | func newNodeWithMockNamesys(ns mockNamesys) (*core.IpfsNode, error) { type delegatedHandler (line 95) | type delegatedHandler struct method ServeHTTP (line 99) | func (dh *delegatedHandler) ServeHTTP(w http.ResponseWriter, r *http.R... function doWithoutRedirect (line 103) | func doWithoutRedirect(req *http.Request) (*http.Response, error) { function newTestServerAndNode (line 117) | func newTestServerAndNode(t *testing.T, ns mockNamesys) (*httptest.Serve... function TestVersion (line 147) | func TestVersion(t *testing.T) { function TestDeserializedResponsesInheritance (line 178) | func TestDeserializedResponsesInheritance(t *testing.T) { FILE: core/corehttp/logs.go function LogOption (line 13) | func LogOption() ServeOption { FILE: core/corehttp/metrics.go function MetricsScrapingOption (line 18) | func MetricsScrapingOption(path string) ServeOption { function MetricsOpenCensusCollectionOption (line 26) | func MetricsOpenCensusCollectionOption() ServeOption { function MetricsOpenCensusDefaultPrometheusRegistry (line 57) | func MetricsOpenCensusDefaultPrometheusRegistry() ServeOption { function MetricsCollectionOption (line 79) | func MetricsCollectionOption(handlerName string) ServeOption { type IpfsNodeCollector (line 162) | type IpfsNodeCollector struct method Describe (line 166) | func (IpfsNodeCollector) Describe(ch chan<- *prometheus.Desc) { method Collect (line 170) | func (c IpfsNodeCollector) Collect(ch chan<- prometheus.Metric) { method PeersTotalValues (line 181) | func (c IpfsNodeCollector) PeersTotalValues() map[string]float64 { FILE: core/corehttp/metrics_test.go function TestPeersTotal (line 18) | func TestPeersTotal(t *testing.T) { FILE: core/corehttp/mutex_profile.go function MutexFractionOption (line 14) | func MutexFractionOption(path string) ServeOption { function BlockProfileRateOption (line 50) | func BlockProfileRateOption(path string) ServeOption { FILE: core/corehttp/option_test.go type testcasecheckversion (line 13) | type testcasecheckversion struct method body (line 21) | func (tc testcasecheckversion) body() string { function TestCheckVersionOption (line 29) | func TestCheckVersionOption(t *testing.T) { FILE: core/corehttp/p2p_proxy.go function P2PProxyOption (line 19) | func P2PProxyOption() ServeOption { type proxyRequest (line 51) | type proxyRequest struct function parseRequest (line 61) | func parseRequest(request *http.Request) (*proxyRequest, error) { function handleError (line 85) | func handleError(w http.ResponseWriter, msg string, err error, code int) { FILE: core/corehttp/p2p_proxy_test.go type TestCase (line 12) | type TestCase struct function TestParseRequest (line 25) | func TestParseRequest(t *testing.T) { function TestParseRequestInvalidPath (line 43) | func TestParseRequestInvalidPath(t *testing.T) { FILE: core/corehttp/redirect.go function RedirectOption (line 10) | func RedirectOption(path string, redirect string) ServeOption { type redirectHandler (line 28) | type redirectHandler struct method ServeHTTP (line 33) | func (i *redirectHandler) ServeHTTP(w http.ResponseWriter, r *http.Req... FILE: core/corehttp/routing.go function RoutingOption (line 25) | func RoutingOption() ServeOption { type contentRouter (line 39) | type contentRouter struct method FindProviders (line 43) | func (r *contentRouter) FindProviders(ctx context.Context, key cid.Cid... method ProvideBitswap (line 53) | func (r *contentRouter) ProvideBitswap(ctx context.Context, req *serve... method FindPeers (line 57) | func (r *contentRouter) FindPeers(ctx context.Context, pid peer.ID, li... method GetIPNS (line 78) | func (r *contentRouter) GetIPNS(ctx context.Context, name ipns.Name) (... method PutIPNS (line 90) | func (r *contentRouter) PutIPNS(ctx context.Context, name ipns.Name, r... method GetClosestPeers (line 104) | func (r *contentRouter) GetClosestPeers(ctx context.Context, key cid.C... type peerChanIter (line 158) | type peerChanIter struct method Next (line 164) | func (it *peerChanIter) Next() bool { method Val (line 174) | func (it *peerChanIter) Val() types.Record { method Close (line 191) | func (it *peerChanIter) Close() error { FILE: core/corehttp/webui.go constant WebUIPath (line 15) | WebUIPath = "/ipfs/bafybeihxglpcfyarpm7apn7xpezbuoqgk3l5chyk7w4gvrjwk45r... function WebUIOption (line 92) | func WebUIOption(n *core.IpfsNode, _ net.Listener, mux *http.ServeMux) (... type webUIHandler (line 109) | type webUIHandler struct method ServeHTTP (line 116) | func (h *webUIHandler) ServeHTTP(w http.ResponseWriter, r *http.Reques... method writeIncompatibleError (line 149) | func (h *webUIHandler) writeIncompatibleError(w http.ResponseWriter) { method writeNotAvailableError (line 161) | func (h *webUIHandler) writeNotAvailableError(w http.ResponseWriter) { FILE: core/coreiface/block.go type BlockStat (line 12) | type BlockStat interface type BlockAPI (line 21) | type BlockAPI interface FILE: core/coreiface/coreapi.go type CoreAPI (line 15) | type CoreAPI interface FILE: core/coreiface/dag.go type APIDagService (line 8) | type APIDagService interface FILE: core/coreiface/idfmt.go function FormatKeyID (line 8) | func FormatKeyID(id peer.ID) string { function FormatKey (line 17) | func FormatKey(key Key) string { FILE: core/coreiface/key.go type Key (line 14) | type Key interface type KeyAPI (line 26) | type KeyAPI interface FILE: core/coreiface/name.go type IpnsResult (line 14) | type IpnsResult struct type NameAPI (line 27) | type NameAPI interface FILE: core/coreiface/object.go type ChangeType (line 11) | type ChangeType constant DiffAdd (line 15) | DiffAdd ChangeType = iota constant DiffRemove (line 18) | DiffRemove constant DiffMod (line 21) | DiffMod type ObjectChange (line 25) | type ObjectChange struct type ObjectAPI (line 46) | type ObjectAPI interface FILE: core/coreiface/options/block.go type BlockPutSettings (line 11) | type BlockPutSettings struct type BlockRmSettings (line 16) | type BlockRmSettings struct type BlockPutOption (line 21) | type BlockPutOption type BlockRmOption (line 22) | type BlockRmOption function BlockPutOptions (line 25) | func BlockPutOptions(opts ...BlockPutOption) (*BlockPutSettings, error) { function BlockRmOptions (line 50) | func BlockRmOptions(opts ...BlockRmOption) (*BlockRmSettings, error) { type blockOpts (line 64) | type blockOpts struct method CidCodec (line 71) | func (blockOpts) CidCodec(codecName string) BlockPutOption { method Format (line 95) | func (blockOpts) Format(format string) BlockPutOption { method Hash (line 141) | func (blockOpts) Hash(mhType uint64, mhLen int) BlockPutOption { method Pin (line 151) | func (blockOpts) Pin(pin bool) BlockPutOption { method Force (line 160) | func (blockOpts) Force(force bool) BlockRmOption { function codeFromName (line 86) | func codeFromName(codecName string) (mc.Code, error) { FILE: core/coreiface/options/global.go type ApiSettings (line 3) | type ApiSettings struct type ApiOption (line 8) | type ApiOption function ApiOptions (line 10) | func ApiOptions(opts ...ApiOption) (*ApiSettings, error) { function ApiOptionsTo (line 19) | func ApiOptionsTo(options *ApiSettings, opts ...ApiOption) (*ApiSettings... type apiOpts (line 29) | type apiOpts struct method Offline (line 33) | func (apiOpts) Offline(offline bool) ApiOption { method FetchBlocks (line 42) | func (apiOpts) FetchBlocks(fetch bool) ApiOption { FILE: core/coreiface/options/key.go constant RSAKey (line 4) | RSAKey = "rsa" constant Ed25519Key (line 5) | Ed25519Key = "ed25519" constant DefaultRSALen (line 7) | DefaultRSALen = 2048 type KeyGenerateSettings (line 10) | type KeyGenerateSettings struct type KeyRenameSettings (line 15) | type KeyRenameSettings struct type KeyGenerateOption (line 20) | type KeyGenerateOption type KeyRenameOption (line 21) | type KeyRenameOption function KeyGenerateOptions (line 24) | func KeyGenerateOptions(opts ...KeyGenerateOption) (*KeyGenerateSettings... function KeyRenameOptions (line 39) | func KeyRenameOptions(opts ...KeyRenameOption) (*KeyRenameSettings, erro... type keyOpts (line 53) | type keyOpts struct method Type (line 63) | func (keyOpts) Type(algorithm string) KeyGenerateOption { method Size (line 75) | func (keyOpts) Size(size int) KeyGenerateOption { method Force (line 84) | func (keyOpts) Force(force bool) KeyRenameOption { FILE: core/coreiface/options/name.go constant DefaultNameValidTime (line 10) | DefaultNameValidTime = 24 * time.Hour type NamePublishSettings (line 13) | type NamePublishSettings struct type NameResolveSettings (line 23) | type NameResolveSettings struct type NamePublishOption (line 30) | type NamePublishOption type NameResolveOption (line 31) | type NameResolveOption function NamePublishOptions (line 34) | func NamePublishOptions(opts ...NamePublishOption) (*NamePublishSettings... function NameResolveOptions (line 53) | func NameResolveOptions(opts ...NameResolveOption) (*NameResolveSettings... type nameOpts (line 68) | type nameOpts struct method ValidTime (line 74) | func (nameOpts) ValidTime(validTime time.Duration) NamePublishOption { method Key (line 86) | func (nameOpts) Key(key string) NamePublishOption { method AllowOffline (line 95) | func (nameOpts) AllowOffline(allow bool) NamePublishOption { method AllowDelegated (line 105) | func (nameOpts) AllowDelegated(allowDelegated bool) NamePublishOption { method TTL (line 114) | func (nameOpts) TTL(ttl time.Duration) NamePublishOption { method Sequence (line 123) | func (nameOpts) Sequence(seq uint64) NamePublishOption { method CompatibleWithV1 (line 132) | func (nameOpts) CompatibleWithV1(compatible bool) NamePublishOption { method Cache (line 141) | func (nameOpts) Cache(cache bool) NameResolveOption { method ResolveOption (line 148) | func (nameOpts) ResolveOption(opt namesys.ResolveOption) NameResolveOp... FILE: core/coreiface/options/object.go type ObjectAddLinkSettings (line 3) | type ObjectAddLinkSettings struct type ObjectAddLinkOption (line 8) | type ObjectAddLinkOption function ObjectAddLinkOptions (line 11) | func ObjectAddLinkOptions(opts ...ObjectAddLinkOption) (*ObjectAddLinkSe... type objectOpts (line 25) | type objectOpts struct method Create (line 31) | func (objectOpts) Create(create bool) ObjectAddLinkOption { FILE: core/coreiface/options/pin.go type PinAddSettings (line 6) | type PinAddSettings struct type PinLsSettings (line 12) | type PinLsSettings struct type PinIsPinnedSettings (line 19) | type PinIsPinnedSettings struct type PinRmSettings (line 24) | type PinRmSettings struct type PinUpdateSettings (line 29) | type PinUpdateSettings struct type PinAddOption (line 34) | type PinAddOption type PinLsOption (line 37) | type PinLsOption type PinIsPinnedOption (line 40) | type PinIsPinnedOption type PinRmOption (line 43) | type PinRmOption type PinUpdateOption (line 46) | type PinUpdateOption function PinAddOptions (line 50) | func PinAddOptions(opts ...PinAddOption) (*PinAddSettings, error) { function PinLsOptions (line 67) | func PinLsOptions(opts ...PinLsOption) (*PinLsSettings, error) { function PinIsPinnedOptions (line 84) | func PinIsPinnedOptions(opts ...PinIsPinnedOption) (*PinIsPinnedSettings... function PinRmOptions (line 101) | func PinRmOptions(opts ...PinRmOption) (*PinRmSettings, error) { function PinUpdateOptions (line 117) | func PinUpdateOptions(opts ...PinUpdateOption) (*PinUpdateSettings, erro... type pinOpts (line 132) | type pinOpts struct method Recursive (line 278) | func (pinOpts) Recursive(recursive bool) PinAddOption { method Name (line 286) | func (pinOpts) Name(name string) PinAddOption { method RmRecursive (line 296) | func (pinOpts) RmRecursive(recursive bool) PinRmOption { method Unpin (line 305) | func (pinOpts) Unpin(unpin bool) PinUpdateOption { type pinLsOpts (line 140) | type pinLsOpts struct method All (line 144) | func (pinLsOpts) All() PinLsOption { method Recursive (line 150) | func (pinLsOpts) Recursive() PinLsOption { method Direct (line 156) | func (pinLsOpts) Direct() PinLsOption { method Indirect (line 162) | func (pinLsOpts) Indirect() PinLsOption { method Type (line 175) | func (pinLsOpts) Type(typeStr string) (PinLsOption, error) { method pinType (line 193) | func (pinLsOpts) pinType(t string) PinLsOption { method Detailed (line 202) | func (pinLsOpts) Detailed(detailed bool) PinLsOption { method Name (line 209) | func (pinLsOpts) Name(name string) PinLsOption { type pinIsPinnedOpts (line 216) | type pinIsPinnedOpts struct method All (line 220) | func (pinIsPinnedOpts) All() PinIsPinnedOption { method Recursive (line 226) | func (pinIsPinnedOpts) Recursive() PinIsPinnedOption { method Direct (line 232) | func (pinIsPinnedOpts) Direct() PinIsPinnedOption { method Indirect (line 238) | func (pinIsPinnedOpts) Indirect() PinIsPinnedOption { method Type (line 251) | func (pinIsPinnedOpts) Type(typeStr string) (PinIsPinnedOption, error) { method pinType (line 269) | func (pinIsPinnedOpts) pinType(t string) PinIsPinnedOption { FILE: core/coreiface/options/pubsub.go type PubSubPeersSettings (line 3) | type PubSubPeersSettings struct type PubSubSubscribeSettings (line 7) | type PubSubSubscribeSettings struct type PubSubPeersOption (line 12) | type PubSubPeersOption type PubSubSubscribeOption (line 13) | type PubSubSubscribeOption function PubSubPeersOptions (line 16) | func PubSubPeersOptions(opts ...PubSubPeersOption) (*PubSubPeersSettings... function PubSubSubscribeOptions (line 30) | func PubSubSubscribeOptions(opts ...PubSubSubscribeOption) (*PubSubSubsc... type pubsubOpts (line 44) | type pubsubOpts struct method Topic (line 48) | func (pubsubOpts) Topic(topic string) PubSubPeersOption { method Discover (line 55) | func (pubsubOpts) Discover(discover bool) PubSubSubscribeOption { FILE: core/coreiface/options/routing.go type RoutingPutSettings (line 3) | type RoutingPutSettings struct type RoutingPutOption (line 7) | type RoutingPutOption function RoutingPutOptions (line 9) | func RoutingPutOptions(opts ...RoutingPutOption) (*RoutingPutSettings, e... type RoutingProvideSettings (line 28) | type RoutingProvideSettings struct type RoutingFindProvidersSettings (line 32) | type RoutingFindProvidersSettings struct type RoutingProvideOption (line 37) | type RoutingProvideOption type RoutingFindProvidersOption (line 38) | type RoutingFindProvidersOption function RoutingProvideOptions (line 41) | func RoutingProvideOptions(opts ...RoutingProvideOption) (*RoutingProvid... function RoutingFindProvidersOptions (line 55) | func RoutingFindProvidersOptions(opts ...RoutingFindProvidersOption) (*R... type routingOpts (line 69) | type routingOpts struct method Recursive (line 75) | func (routingOpts) Recursive(recursive bool) RoutingProvideOption { method NumProviders (line 84) | func (routingOpts) NumProviders(numProviders int) RoutingFindProviders... method AllowOffline (line 93) | func (routingOpts) AllowOffline(allow bool) RoutingPutOption { FILE: core/coreiface/options/unixfs.go type Layout (line 16) | type Layout constant BalancedLayout (line 19) | BalancedLayout Layout = iota constant TrickleLayout (line 20) | TrickleLayout type UnixfsAddSettings (line 23) | type UnixfsAddSettings struct type UnixfsLsSettings (line 61) | type UnixfsLsSettings struct type UnixfsAddOption (line 67) | type UnixfsAddOption type UnixfsLsOption (line 68) | type UnixfsLsOption function UnixfsAddOptions (line 71) | func UnixfsAddOptions(opts ...UnixfsAddOption) (*UnixfsAddSettings, cid.... function UnixfsLsOptions (line 167) | func UnixfsLsOptions(opts ...UnixfsLsOption) (*UnixfsLsSettings, error) { type unixfsOpts (line 182) | type unixfsOpts struct method CidVersion (line 188) | func (unixfsOpts) CidVersion(version int) UnixfsAddOption { method Hash (line 198) | func (unixfsOpts) Hash(mhtype uint64) UnixfsAddOption { method RawLeaves (line 207) | func (unixfsOpts) RawLeaves(enable bool) UnixfsAddOption { method MaxFileLinks (line 217) | func (unixfsOpts) MaxFileLinks(n int) UnixfsAddOption { method MaxDirectoryLinks (line 227) | func (unixfsOpts) MaxDirectoryLinks(n int) UnixfsAddOption { method MaxHAMTFanout (line 238) | func (unixfsOpts) MaxHAMTFanout(n int) UnixfsAddOption { method SizeEstimationMode (line 250) | func (unixfsOpts) SizeEstimationMode(mode io.SizeEstimationMode) Unixf... method Inline (line 259) | func (unixfsOpts) Inline(enable bool) UnixfsAddOption { method InlineLimit (line 274) | func (unixfsOpts) InlineLimit(limit int) UnixfsAddOption { method Chunker (line 286) | func (unixfsOpts) Chunker(chunker string) UnixfsAddOption { method Layout (line 297) | func (unixfsOpts) Layout(layout Layout) UnixfsAddOption { method Pin (line 305) | func (unixfsOpts) Pin(pin bool, pinName string) UnixfsAddOption { method HashOnly (line 317) | func (unixfsOpts) HashOnly(hashOnly bool) UnixfsAddOption { method Events (line 328) | func (unixfsOpts) Events(sink chan<- any) UnixfsAddOption { method Silent (line 336) | func (unixfsOpts) Silent(silent bool) UnixfsAddOption { method Progress (line 344) | func (unixfsOpts) Progress(enable bool) UnixfsAddOption { method FsCache (line 354) | func (unixfsOpts) FsCache(enable bool) UnixfsAddOption { method Nocopy (line 364) | func (unixfsOpts) Nocopy(enable bool) UnixfsAddOption { method ResolveChildren (line 371) | func (unixfsOpts) ResolveChildren(resolve bool) UnixfsLsOption { method UseCumulativeSize (line 378) | func (unixfsOpts) UseCumulativeSize(use bool) UnixfsLsOption { method PreserveMode (line 386) | func (unixfsOpts) PreserveMode(enable bool) UnixfsAddOption { method PreserveMtime (line 394) | func (unixfsOpts) PreserveMtime(enable bool) UnixfsAddOption { method Mode (line 402) | func (unixfsOpts) Mode(mode os.FileMode) UnixfsAddOption { method Mtime (line 410) | func (unixfsOpts) Mtime(seconds int64, nsecs uint32) UnixfsAddOption { method IncludeEmptyDirs (line 421) | func (unixfsOpts) IncludeEmptyDirs(include bool) UnixfsAddOption { FILE: core/coreiface/options/unixfs_test.go function TestMaxHAMTFanoutValidation (line 9) | func TestMaxHAMTFanoutValidation(t *testing.T) { FILE: core/coreiface/pin.go type Pin (line 12) | type Pin interface type PinStatus (line 24) | type PinStatus interface type BadPinNode (line 36) | type BadPinNode interface type PinAPI (line 45) | type PinAPI interface FILE: core/coreiface/pubsub.go type PubSubSubscription (line 13) | type PubSubSubscription interface type PubSubMessage (line 21) | type PubSubMessage interface type PubSubAPI (line 36) | type PubSubAPI interface FILE: core/coreiface/routing.go type RoutingAPI (line 12) | type RoutingAPI interface FILE: core/coreiface/swarm.go type ConnectionInfo (line 21) | type ConnectionInfo interface type SwarmAPI (line 39) | type SwarmAPI interface FILE: core/coreiface/tests/api.go type Provider (line 14) | type Provider interface type TestSuite (line 53) | type TestSuite struct method makeAPISwarm (line 19) | func (tp *TestSuite) makeAPISwarm(t *testing.T, ctx context.Context, f... method makeAPI (line 31) | func (tp *TestSuite) makeAPI(t *testing.T, ctx context.Context) (corei... method makeAPIWithIdentityAndOffline (line 40) | func (tp *TestSuite) makeAPIWithIdentityAndOffline(t *testing.T, ctx c... method MakeAPISwarm (line 49) | func (tp *TestSuite) MakeAPISwarm(t *testing.T, ctx context.Context, n... method hasApi (line 98) | func (tp *TestSuite) hasApi(t *testing.T, tf func(coreiface.CoreAPI) e... function TestApi (line 59) | func TestApi(p Provider) func(t *testing.T) { FILE: core/coreiface/tests/block.go function pbBlock (line 25) | func pbBlock() io.Reader { function cborBlock (line 30) | func cborBlock() io.Reader { method TestBlock (line 34) | func (tp *TestSuite) TestBlock(t *testing.T) { method TestBlockPut (line 56) | func (tp *TestSuite) TestBlockPut(t *testing.T) { method TestBlockPutFormatDagCbor (line 75) | func (tp *TestSuite) TestBlockPutFormatDagCbor(t *testing.T) { method TestBlockPutFormatDagPb (line 94) | func (tp *TestSuite) TestBlockPutFormatDagPb(t *testing.T) { method TestBlockPutFormatV0 (line 113) | func (tp *TestSuite) TestBlockPutFormatV0(t *testing.T) { method TestBlockPutCidCodecDagCbor (line 130) | func (tp *TestSuite) TestBlockPutCidCodecDagCbor(t *testing.T) { method TestBlockPutCidCodecDagPb (line 147) | func (tp *TestSuite) TestBlockPutCidCodecDagPb(t *testing.T) { method TestBlockPutHash (line 164) | func (tp *TestSuite) TestBlockPutHash(t *testing.T) { method TestBlockGet (line 186) | func (tp *TestSuite) TestBlockGet(t *testing.T) { method TestBlockRm (line 223) | func (tp *TestSuite) TestBlockRm(t *testing.T) { method TestBlockStat (line 276) | func (tp *TestSuite) TestBlockStat(t *testing.T) { method TestBlockPin (line 302) | func (tp *TestSuite) TestBlockPin(t *testing.T) { FILE: core/coreiface/tests/dag.go method TestDag (line 16) | func (tp *TestSuite) TestDag(t *testing.T) { method TestPut (line 39) | func (tp *TestSuite) TestPut(t *testing.T) { method TestPutWithHash (line 61) | func (tp *TestSuite) TestPutWithHash(t *testing.T) { method TestDagPath (line 83) | func (tp *TestSuite) TestDagPath(t *testing.T) { method TestTree (line 130) | func (tp *TestSuite) TestTree(t *testing.T) { method TestBatch (line 164) | func (tp *TestSuite) TestBatch(t *testing.T) { FILE: core/coreiface/tests/key.go method TestKey (line 17) | func (tp *TestSuite) TestKey(t *testing.T) { method TestListSelf (line 44) | func (tp *TestSuite) TestListSelf(t *testing.T) { method TestRenameSelf (line 60) | func (tp *TestSuite) TestRenameSelf(t *testing.T) { method TestRemoveSelf (line 73) | func (tp *TestSuite) TestRemoveSelf(t *testing.T) { method TestGenerate (line 83) | func (tp *TestSuite) TestGenerate(t *testing.T) { function verifyIPNSPath (line 96) | func verifyIPNSPath(t *testing.T, p string) { method TestGenerateSize (line 110) | func (tp *TestSuite) TestGenerateSize(t *testing.T) { method TestGenerateType (line 123) | func (tp *TestSuite) TestGenerateType(t *testing.T) { method TestGenerateExisting (line 138) | func (tp *TestSuite) TestGenerateExisting(t *testing.T) { method TestList (line 154) | func (tp *TestSuite) TestList(t *testing.T) { method TestRename (line 173) | func (tp *TestSuite) TestRename(t *testing.T) { method TestRenameToSelf (line 188) | func (tp *TestSuite) TestRenameToSelf(t *testing.T) { method TestRenameToSelfForce (line 201) | func (tp *TestSuite) TestRenameToSelfForce(t *testing.T) { method TestRenameOverwriteNoForce (line 214) | func (tp *TestSuite) TestRenameOverwriteNoForce(t *testing.T) { method TestRenameOverwrite (line 230) | func (tp *TestSuite) TestRenameOverwrite(t *testing.T) { method TestRenameSameNameNoForce (line 249) | func (tp *TestSuite) TestRenameSameNameNoForce(t *testing.T) { method TestRenameSameName (line 264) | func (tp *TestSuite) TestRenameSameName(t *testing.T) { method TestRemove (line 279) | func (tp *TestSuite) TestRemove(t *testing.T) { method TestSign (line 302) | func (tp *TestSuite) TestSign(t *testing.T) { method TestVerify (line 327) | func (tp *TestSuite) TestVerify(t *testing.T) { FILE: core/coreiface/tests/name.go method TestName (line 18) | func (tp *TestSuite) TestName(t *testing.T) { function addTestObject (line 33) | func addTestObject(ctx context.Context, api coreiface.CoreAPI) (path.Pat... method TestPublishResolve (line 37) | func (tp *TestSuite) TestPublishResolve(t *testing.T) { method TestBasicPublishResolveKey (line 121) | func (tp *TestSuite) TestBasicPublishResolveKey(t *testing.T) { method TestBasicPublishResolveTimeout (line 142) | func (tp *TestSuite) TestBasicPublishResolveTimeout(t *testing.T) { FILE: core/coreiface/tests/object.go method TestObject (line 15) | func (tp *TestSuite) TestObject(t *testing.T) { function putDagPbNode (line 29) | func putDagPbNode(t *testing.T, ctx context.Context, api iface.CoreAPI, ... method TestObjectAddLink (line 47) | func (tp *TestSuite) TestObjectAddLink(t *testing.T) { method TestObjectAddLinkCreate (line 73) | func (tp *TestSuite) TestObjectAddLinkCreate(t *testing.T) { method TestObjectRmLink (line 102) | func (tp *TestSuite) TestObjectRmLink(t *testing.T) { method TestDiffTest (line 126) | func (tp *TestSuite) TestDiffTest(t *testing.T) { FILE: core/coreiface/tests/path.go function newIPLDPath (line 16) | func newIPLDPath(t *testing.T, cid cid.Cid) path.ImmutablePath { method TestPath (line 24) | func (tp *TestSuite) TestPath(t *testing.T) { method TestMutablePath (line 33) | func (tp *TestSuite) TestMutablePath(t *testing.T) { method TestPathRemainder (line 49) | func (tp *TestSuite) TestPathRemainder(t *testing.T) { method TestEmptyPathRemainder (line 70) | func (tp *TestSuite) TestEmptyPathRemainder(t *testing.T) { method TestInvalidPathRemainder (line 88) | func (tp *TestSuite) TestInvalidPathRemainder(t *testing.T) { method TestPathRoot (line 109) | func (tp *TestSuite) TestPathRoot(t *testing.T) { method TestPathJoin (line 134) | func (tp *TestSuite) TestPathJoin(t *testing.T) { FILE: core/coreiface/tests/pin.go method TestPin (line 18) | func (tp *TestSuite) TestPin(t *testing.T) { method TestPinAdd (line 35) | func (tp *TestSuite) TestPinAdd(t *testing.T) { method TestPinSimple (line 53) | func (tp *TestSuite) TestPinSimple(t *testing.T) { method TestPinRecursive (line 104) | func (tp *TestSuite) TestPinRecursive(t *testing.T) { method TestPinLsIndirect (line 250) | func (tp *TestSuite) TestPinLsIndirect(t *testing.T) { method TestPinLsPrecedence (line 273) | func (tp *TestSuite) TestPinLsPrecedence(t *testing.T) { method TestPinLsPredenceRecursiveIndirect (line 282) | func (tp *TestSuite) TestPinLsPredenceRecursiveIndirect(t *testing.T) { method TestPinLsPrecedenceDirectIndirect (line 305) | func (tp *TestSuite) TestPinLsPrecedenceDirectIndirect(t *testing.T) { method TestPinLsPrecedenceRecursiveDirect (line 328) | func (tp *TestSuite) TestPinLsPrecedenceRecursiveDirect(t *testing.T) { method TestPinIsPinned (line 363) | func (tp *TestSuite) TestPinIsPinned(t *testing.T) { type cidContainer (line 395) | type cidContainer interface type immutablePathCidContainer (line 399) | type immutablePathCidContainer struct method Cid (line 403) | func (i immutablePathCidContainer) Cid() cid.Cid { function getThreeChainedNodes (line 407) | func getThreeChainedNodes(t *testing.T, ctx context.Context, api iface.C... function assertPinTypes (line 430) | func assertPinTypes(t *testing.T, ctx context.Context, api iface.CoreAPI... function assertPinCids (line 456) | func assertPinCids(t *testing.T, pins []iface.Pin, cids ...cidContainer) { function assertPinLsAllConsistency (line 495) | func assertPinLsAllConsistency(t *testing.T, ctx context.Context, api if... function assertIsPinned (line 549) | func assertIsPinned(t *testing.T, ctx context.Context, api iface.CoreAPI... method TestPinNames (line 577) | func (tp *TestSuite) TestPinNames(t *testing.T) { function assertNotPinned (line 715) | func assertNotPinned(t *testing.T, ctx context.Context, api iface.CoreAP... function accPins (line 728) | func accPins(ctx context.Context, api iface.CoreAPI, opts ...opt.PinLsOp... FILE: core/coreiface/tests/pubsub.go method TestPubSub (line 12) | func (tp *TestSuite) TestPubSub(t *testing.T) { method TestBasicPubSub (line 23) | func (tp *TestSuite) TestBasicPubSub(t *testing.T) { FILE: core/coreiface/tests/routing.go method TestRouting (line 16) | func (tp *TestSuite) TestRouting(t *testing.T) { method testRoutingPublishKey (line 32) | func (tp *TestSuite) testRoutingPublishKey(t *testing.T, ctx context.Con... method TestRoutingGet (line 43) | func (tp *TestSuite) TestRoutingGet(t *testing.T) { method TestRoutingPut (line 64) | func (tp *TestSuite) TestRoutingPut(t *testing.T) { method TestRoutingPutOffline (line 81) | func (tp *TestSuite) TestRoutingPutOffline(t *testing.T) { method TestRoutingFindPeer (line 103) | func (tp *TestSuite) TestRoutingFindPeer(t *testing.T) { method TestRoutingFindProviders (line 157) | func (tp *TestSuite) TestRoutingFindProviders(t *testing.T) { method TestRoutingProvide (line 195) | func (tp *TestSuite) TestRoutingProvide(t *testing.T) { FILE: core/coreiface/tests/unixfs.go method TestUnixfs (line 31) | func (tp *TestSuite) TestUnixfs(t *testing.T) { function strFile (line 63) | func strFile(data string) func() files.Node { function twoLevelDir (line 69) | func twoLevelDir() func() files.Node { function flatDir (line 82) | func flatDir() files.Node { function wrapped (line 89) | func wrapped(names ...string) func(f files.Node) files.Node { method TestAdd (line 100) | func (tp *TestSuite) TestAdd(t *testing.T) { method TestAddPinned (line 531) | func (tp *TestSuite) TestAddPinned(t *testing.T) { method TestAddHashOnly (line 556) | func (tp *TestSuite) TestAddHashOnly(t *testing.T) { method TestGetEmptyFile (line 581) | func (tp *TestSuite) TestGetEmptyFile(t *testing.T) { method TestGetDir (line 613) | func (tp *TestSuite) TestGetDir(t *testing.T) { method TestGetNonUnixfs (line 640) | func (tp *TestSuite) TestGetNonUnixfs(t *testing.T) { method TestLs (line 659) | func (tp *TestSuite) TestLs(t *testing.T) { method TestEntriesExpired (line 720) | func (tp *TestSuite) TestEntriesExpired(t *testing.T) { method TestLsEmptyDir (line 762) | func (tp *TestSuite) TestLsEmptyDir(t *testing.T) { method TestLsNonUnixfs (line 794) | func (tp *TestSuite) TestLsNonUnixfs(t *testing.T) { type closeTestF (line 830) | type closeTestF struct method Close (line 853) | func (f *closeTestF) Close() error { type closeTestD (line 837) | type closeTestD struct method Close (line 844) | func (f *closeTestD) Close() error { method TestAddCloses (line 861) | func (tp *TestSuite) TestAddCloses(t *testing.T) { method TestGetSeek (line 898) | func (tp *TestSuite) TestGetSeek(t *testing.T) { method TestGetReadAt (line 1003) | func (tp *TestSuite) TestGetReadAt(t *testing.T) { FILE: core/coreiface/unixfs.go type AddEvent (line 15) | type AddEvent struct type FileType (line 26) | type FileType method String (line 40) | func (t FileType) String() string { constant TUnknown (line 31) | TUnknown FileType = iota constant TFile (line 33) | TFile constant TDirectory (line 35) | TDirectory constant TSymlink (line 37) | TSymlink type DirEntry (line 56) | type DirEntry struct type UnixfsAPI (line 71) | type UnixfsAPI interface function LsIter (line 116) | func LsIter(ctx context.Context, api UnixfsAPI, p path.Path, opts ...opt... FILE: core/coreiface/util.go type Reader (line 8) | type Reader interface type ReadSeekCloser (line 15) | type ReadSeekCloser interface FILE: core/corerepo/gc.go type GC (line 23) | type GC struct method maybeGC (line 204) | func (gc *GC) maybeGC(ctx context.Context, offset uint64) error { function NewGC (line 32) | func NewGC(n *core.IpfsNode) (*GC, error) { function BestEffortRoots (line 74) | func BestEffortRoots(filesRoot *mfs.Root) ([]cid.Cid, error) { function GarbageCollect (line 83) | func GarbageCollect(n *core.IpfsNode, ctx context.Context) error { function CollectResult (line 96) | func CollectResult(ctx context.Context, gcOut <-chan gc.Result, cb func(... function NewMultiError (line 127) | func NewMultiError(errs ...error) *MultiError { type MultiError (line 132) | type MultiError struct method Error (line 137) | func (e *MultiError) Error() string { function GarbageCollectAsync (line 147) | func GarbageCollectAsync(n *core.IpfsNode, ctx context.Context) <-chan g... function PeriodicGC (line 159) | func PeriodicGC(ctx context.Context, node *core.IpfsNode) error { function ConditionalGC (line 196) | func ConditionalGC(ctx context.Context, node *core.IpfsNode, offset uint... FILE: core/corerepo/stat.go type SizeStat (line 16) | type SizeStat struct type Stat (line 22) | type Stat struct constant NoLimit (line 30) | NoLimit uint64 = math.MaxUint64 function RepoStat (line 33) | func RepoStat(ctx context.Context, n *core.IpfsNode) (Stat, error) { function RepoSize (line 66) | func RepoSize(ctx context.Context, n *core.IpfsNode) (SizeStat, error) { FILE: core/coreunix/add.go constant progressReaderIncrement (line 38) | progressReaderIncrement = 1024 * 256 type Link (line 42) | type Link struct type syncer (line 47) | type syncer interface function NewAdder (line 52) | func NewAdder(ctx context.Context, p pin.Pinner, bs bstore.GCLocker, ds ... type Adder (line 72) | type Adder struct method mfsRoot (line 104) | func (adder *Adder) mfsRoot() (*mfs.Root, error) { method SetMfsRoot (line 124) | func (adder *Adder) SetMfsRoot(r *mfs.Root) { method add (line 129) | func (adder *Adder) add(reader io.Reader) (ipld.Node, error) { method curRootNode (line 168) | func (adder *Adder) curRootNode() (ipld.Node, error) { method PinRoot (line 194) | func (adder *Adder) PinRoot(ctx context.Context, root ipld.Node, name ... method outputDirs (line 225) | func (adder *Adder) outputDirs(path string, fsn mfs.FSNode) error { method addNode (line 260) | func (adder *Adder) addNode(node ipld.Node, path string) error { method AddAllAndPin (line 301) | func (adder *Adder) AddAllAndPin(ctx context.Context, file files.Node)... method addFileNode (line 388) | func (adder *Adder) addFileNode(ctx context.Context, path string, file... method addSymlink (line 433) | func (adder *Adder) addSymlink(ctx context.Context, path string, l *fi... method addFile (line 464) | func (adder *Adder) addFile(path string, file files.File) error { method addDir (line 486) | func (adder *Adder) addDir(ctx context.Context, path string, dir files... method maybePauseForGC (line 557) | func (adder *Adder) maybePauseForGC(ctx context.Context) error { function outputDagnode (line 579) | func outputDagnode(out chan<- any, name string, dn ipld.Node) error { function getOutput (line 599) | func getOutput(dagnode ipld.Node) (*coreiface.AddEvent, error) { type progressReader (line 614) | type progressReader struct method Read (line 622) | func (i *progressReader) Read(p []byte) (int, error) { type progressReader2 (line 637) | type progressReader2 struct method Read (line 642) | func (i *progressReader2) Read(p []byte) (int, error) { FILE: core/coreunix/add_test.go constant testPeerID (line 30) | testPeerID = "QmTFauExutTsy4XP6JbMFcw2Wa9645HJt2bTqL6qYDCKfe" function TestAddMultipleGCLive (line 32) | func TestAddMultipleGCLive(t *testing.T) { function TestAddGCLive (line 164) | func TestAddGCLive(t *testing.T) { function testAddWPosInfo (line 273) | func testAddWPosInfo(t *testing.T, rawLeaves bool) { function TestAddWPosInfo (line 331) | func TestAddWPosInfo(t *testing.T) { function TestAddWPosInfoAndRawLeafs (line 335) | func TestAddWPosInfoAndRawLeafs(t *testing.T) { type testBlockstore (line 339) | type testBlockstore struct method Put (line 347) | func (bs *testBlockstore) Put(ctx context.Context, block blocks.Block)... method PutMany (line 352) | func (bs *testBlockstore) PutMany(ctx context.Context, blocks []blocks... method CheckForPosInfo (line 359) | func (bs *testBlockstore) CheckForPosInfo(block blocks.Block) { type dummyFileInfo (line 374) | type dummyFileInfo struct method Name (line 380) | func (fi *dummyFileInfo) Name() string { return fi.name } method Size (line 381) | func (fi *dummyFileInfo) Size() int64 { return fi.size } method Mode (line 382) | func (fi *dummyFileInfo) Mode() os.FileMode { return 0 } method ModTime (line 383) | func (fi *dummyFileInfo) ModTime() time.Time { return fi.modTime } method IsDir (line 384) | func (fi *dummyFileInfo) IsDir() bool { return false } method Sys (line 385) | func (fi *dummyFileInfo) Sys() any { return nil } FILE: core/coreunix/metadata.go function AddMetadataTo (line 10) | func AddMetadataTo(n *core.IpfsNode, skey string, m *ft.Metadata) (strin... function Metadata (line 40) | func Metadata(n *core.IpfsNode, skey string) (*ft.Metadata, error) { FILE: core/coreunix/metadata_test.go function getDagserv (line 26) | func getDagserv(t *testing.T) ipld.DAGService { function TestMetadata (line 33) | func TestMetadata(t *testing.T) { FILE: core/mock/mock.go function NewMockNode (line 28) | func NewMockNode() (*core.IpfsNode, error) { function MockHostOption (line 36) | func MockHostOption(mn mocknet.Mocknet) libp2p2.HostOption { function MockCmdsCtx (line 51) | func MockCmdsCtx() (commands.Context, error) { function MockPublicNode (line 85) | func MockPublicNode(ctx context.Context, mn mocknet.Mocknet) (*core.Ipfs... FILE: core/node/bitswap.go constant DefaultEngineBlockstoreWorkerCount (line 33) | DefaultEngineBlockstoreWorkerCount = 128 constant DefaultTaskWorkerCount (line 34) | DefaultTaskWorkerCount = 8 constant DefaultEngineTaskWorkerCount (line 35) | DefaultEngineTaskWorkerCount = 8 constant DefaultMaxOutstandingBytesPerPeer (line 36) | DefaultMaxOutstandingBytesPerPeer = 1 << 20 constant DefaultProviderSearchDelay (line 37) | DefaultProviderSearchDelay = 1000 * time.Millisecond constant DefaultMaxProviders (line 38) | DefaultMaxProviders = 10 constant DefaultWantHaveReplaceSize (line 39) | DefaultWantHaveReplaceSize = 1024 type bitswapOptionsOut (line 42) | type bitswapOptionsOut struct function BitswapOptions (line 50) | func BitswapOptions(cfg *config.Config) any { type bitswapIn (line 70) | type bitswapIn struct function Bitswap (line 84) | func Bitswap(serverEnabled, libp2pEnabled, httpEnabled bool) any { function OnlineExchange (line 209) | func OnlineExchange(isBitswapActive bool) any { type noopExchange (line 223) | type noopExchange struct method GetBlock (line 227) | func (e *noopExchange) GetBlock(ctx context.Context, c cid.Cid) (block... method GetBlocks (line 231) | func (e *noopExchange) GetBlocks(ctx context.Context, cids []cid.Cid) ... method NotifyNewBlocks (line 237) | func (e *noopExchange) NotifyNewBlocks(ctx context.Context, blocks ...... method Close (line 241) | func (e *noopExchange) Close() error { FILE: core/node/builder.go type BuildCfg (line 22) | type BuildCfg struct method getOpt (line 42) | func (cfg *BuildCfg) getOpt(key string) bool { method fillDefaults (line 50) | func (cfg *BuildCfg) fillDefaults() error { method options (line 71) | func (cfg *BuildCfg) options(ctx context.Context) (fx.Option, *cfg.Con... function defaultRepo (line 112) | func defaultRepo(dstore repo.Datastore) (repo.Repo, error) { FILE: core/node/core.go function BlockService (line 37) | func BlockService(cfg *config.Config) func(lc fx.Lifecycle, bs blockstor... function Pinning (line 54) | func Pinning(strategy string) func(bstore blockstore.Blockstore, ds form... type syncDagService (line 107) | type syncDagService struct method Sync (line 112) | func (s *syncDagService) Sync(ctx context.Context) error { method Session (line 116) | func (s *syncDagService) Session(ctx context.Context) format.NodeGetter { type FetchersOut (line 121) | type FetchersOut struct type FetchersIn (line 130) | type FetchersIn struct function FetcherConfig (line 139) | func FetcherConfig(bs blockservice.BlockService) FetchersOut { type PathResolversOut (line 161) | type PathResolversOut struct function PathResolverConfig (line 170) | func PathResolverConfig(fetchers FetchersIn) PathResolversOut { function Dag (line 180) | func Dag(bs blockservice.BlockService) format.DAGService { function Files (line 185) | func Files(strategy string) func(mctx helpers.MetricsCtx, lc fx.Lifecycl... FILE: core/node/dns.go function DNSResolver (line 17) | func DNSResolver(cfg *config.Config) (*madns.Resolver, error) { FILE: core/node/groups.go function LibP2P (line 39) | func LibP2P(bcfg *BuildCfg, cfg *config.Config, userResourceOverrides rc... function Storage (line 236) | func Storage(bcfg *BuildCfg, cfg *config.Config) fx.Option { function Identity (line 263) | func Identity(cfg *config.Config) fx.Option { function Online (line 308) | func Online(bcfg *BuildCfg, cfg *config.Config, userResourceOverrides rc... function Offline (line 372) | func Offline(cfg *config.Config) fx.Option { function Networked (line 392) | func Networked(bcfg *BuildCfg, cfg *config.Config, userResourceOverrides... function IPFS (line 400) | func IPFS(ctx context.Context, bcfg *BuildCfg) fx.Option { FILE: core/node/helpers.go type lcStartStop (line 10) | type lcStartStop struct method Append (line 17) | func (lcss *lcStartStop) Append(f func() func()) { function maybeProvide (line 43) | func maybeProvide(opt any, enable bool) fx.Option { function maybeInvoke (line 51) | func maybeInvoke(opt any, enable bool) fx.Option { FILE: core/node/helpers/helpers.go type MetricsCtx (line 9) | type MetricsCtx function LifecycleCtx (line 15) | func LifecycleCtx(mctx MetricsCtx, lc fx.Lifecycle) context.Context { FILE: core/node/identity.go function PeerID (line 10) | func PeerID(id peer.ID) func() peer.ID { function PrivateKey (line 17) | func PrivateKey(sk crypto.PrivKey) func(id peer.ID) (crypto.PrivKey, err... FILE: core/node/ipns.go constant DefaultIpnsCacheSize (line 20) | DefaultIpnsCacheSize = 128 function RecordValidator (line 23) | func RecordValidator(ps peerstore.Peerstore) record.Validator { function Namesys (line 31) | func Namesys(cacheSize int, cacheMaxTTL time.Duration) func(rt irouting.... function IpnsRepublisher (line 48) | func IpnsRepublisher(repubPeriod time.Duration, recordLifetime time.Dura... FILE: core/node/libp2p/addrs.go function AddrFilters (line 24) | func AddrFilters(filters []string) func() (*ma.Filters, Libp2pOpts, erro... function makeAddrsFactory (line 39) | func makeAddrsFactory(announce []string, appendAnnounce []string, noAnno... function AddrsFactory (line 102) | func AddrsFactory(announce []string, appendAnnounce []string, noAnnounce... function ListenOn (line 127) | func ListenOn(addresses []string) any { function P2PForgeCertMgr (line 137) | func P2PForgeCertMgr(repoPath string, cfg config.AutoTLS, atlsLog *loggi... function StartP2PAutoTLS (line 176) | func StartP2PAutoTLS(lc fx.Lifecycle, certMgr *p2pforge.P2PForgeCertMgr,... FILE: core/node/libp2p/discovery.go constant discoveryConnTimeout (line 16) | discoveryConnTimeout = time.Second * 30 type discoveryHandler (line 18) | type discoveryHandler struct method HandlePeerFound (line 23) | func (dh *discoveryHandler) HandlePeerFound(p peer.AddrInfo) { function DiscoveryHandler (line 32) | func DiscoveryHandler(mctx helpers.MetricsCtx, lc fx.Lifecycle, host hos... function SetupDiscovery (line 39) | func SetupDiscovery(useMdns bool) func(helpers.MetricsCtx, fx.Lifecycle,... FILE: core/node/libp2p/dns.go function MultiaddrResolver (line 9) | func MultiaddrResolver(rslv *madns.Resolver) (opts Libp2pOpts, err error) { FILE: core/node/libp2p/fd/sys_not_unix.go function GetNumFDs (line 5) | func GetNumFDs() int { FILE: core/node/libp2p/fd/sys_unix.go function GetNumFDs (line 9) | func GetNumFDs() int { FILE: core/node/libp2p/fd/sys_windows.go function GetNumFDs (line 9) | func GetNumFDs() int { FILE: core/node/libp2p/filters.go type filtersConnectionGater (line 14) | type filtersConnectionGater method InterceptAddrDial (line 18) | func (f *filtersConnectionGater) InterceptAddrDial(_ peer.ID, addr ma.... method InterceptPeerDial (line 22) | func (f *filtersConnectionGater) InterceptPeerDial(p peer.ID) (allow b... method InterceptAccept (line 26) | func (f *filtersConnectionGater) InterceptAccept(connAddr network.Conn... method InterceptSecured (line 30) | func (f *filtersConnectionGater) InterceptSecured(_ network.Direction,... method InterceptUpgraded (line 34) | func (f *filtersConnectionGater) InterceptUpgraded(_ network.Conn) (al... FILE: core/node/libp2p/host.go type P2PHostIn (line 21) | type P2PHostIn struct type P2PHostOut (line 34) | type P2PHostOut struct function Host (line 41) | func Host(mctx helpers.MetricsCtx, lc fx.Lifecycle, params P2PHostIn) (o... FILE: core/node/libp2p/hostopt.go type HostOption (line 12) | type HostOption function constructPeerHost (line 17) | func constructPeerHost(id peer.ID, ps peerstore.Peerstore, options ...li... FILE: core/node/libp2p/libp2p.go type Libp2pOpts (line 22) | type Libp2pOpts struct function ConnectionManager (line 28) | func ConnectionManager(low, high int, grace, silence time.Duration) func... function PstoreAddSelfKeys (line 42) | func PstoreAddSelfKeys(id peer.ID, sk crypto.PrivKey, ps peerstore.Peers... function UserAgent (line 50) | func UserAgent() func() (opts Libp2pOpts, err error) { function simpleOpt (line 54) | func simpleOpt(opt libp2p.Option) func() (opts Libp2pOpts, err error) { type priorityOption (line 61) | type priorityOption struct function prioritizeOptions (line 66) | func prioritizeOptions(opts []priorityOption) libp2p.Option { function ForceReachability (line 90) | func ForceReachability(val *config.OptionalString) func() (opts Libp2pOp... FILE: core/node/libp2p/libp2p_test.go function TestPrioritize (line 14) | func TestPrioritize(t *testing.T) { FILE: core/node/libp2p/nat.go function AutoNATService (line 12) | func AutoNATService(throttle *config.AutoNATThrottleConfig, v1only bool)... FILE: core/node/libp2p/peerstore.go function Peerstore (line 11) | func Peerstore(lc fx.Lifecycle) (peerstore.Peerstore, error) { FILE: core/node/libp2p/pnet.go type PNetFingerprint (line 19) | type PNetFingerprint function PNet (line 21) | func PNet(repo repo.Repo) (opts Libp2pOpts, fp PNetFingerprint, err erro... function PNetChecker (line 37) | func PNetChecker(repo repo.Repo, ph host.Host, lc fx.Lifecycle) error { function pnetFingerprint (line 74) | func pnetFingerprint(psk pnet.PSK) []byte { FILE: core/node/libp2p/pubsub.go type pubsubParams (line 20) | type pubsubParams struct function FloodSub (line 28) | func FloodSub(pubsubOptions ...pubsub.Option) any { function GossipSub (line 40) | func GossipSub(pubsubOptions ...pubsub.Option) any { function newSeqnoValidator (line 53) | func newSeqnoValidator(ds datastore.Datastore) pubsub.ValidatorEx { constant SeqnoStorePrefix (line 58) | SeqnoStorePrefix = "/pubsub/seqno/" type seqnoStore (line 63) | type seqnoStore struct method Get (line 72) | func (s *seqnoStore) Get(ctx context.Context, p peer.ID) ([]byte, erro... method Put (line 82) | func (s *seqnoStore) Put(ctx context.Context, p peer.ID, val []byte) e... FILE: core/node/libp2p/pubsub_test.go function TestSeqnoStore (line 17) | func TestSeqnoStore(t *testing.T) { FILE: core/node/libp2p/rcmgr.go constant NetLimitTraceFilename (line 27) | NetLimitTraceFilename = "rcmgr.json.gz" function ResourceManager (line 31) | func ResourceManager(repoPath string, cfg config.SwarmConfig, userResour... function isPartialConfigEmpty (line 136) | func isPartialConfigEmpty(cfg rcmgr.PartialLimitConfig) bool { function LimitConfig (line 180) | func LimitConfig(cfg config.SwarmConfig, userResourceOverrides rcmgr.Par... type ResourceLimitsAndUsage (line 198) | type ResourceLimitsAndUsage struct method ToResourceLimits (line 218) | func (u ResourceLimitsAndUsage) ToResourceLimits() rcmgr.ResourceLimits { type LimitsConfigAndUsage (line 231) | type LimitsConfigAndUsage struct method MarshalJSON (line 241) | func (u LimitsConfigAndUsage) MarshalJSON() ([]byte, error) { method ToPartialLimitConfig (line 258) | func (u LimitsConfigAndUsage) ToPartialLimitConfig() (result rcmgr.Par... function MergeLimitsAndStatsIntoLimitsConfigAndUsage (line 278) | func MergeLimitsAndStatsIntoLimitsConfigAndUsage(l rcmgr.ConcreteLimitCo... function mergeLimitsAndStatsMapIntoLimitsConfigAndUsageMap (line 290) | func mergeLimitsAndStatsMapIntoLimitsConfigAndUsageMap[K comparable](lim... function maxInt (line 311) | func maxInt(x, y int) int { function mergeResourceLimitsAndScopeStatToResourceLimitsAndUsage (line 318) | func mergeResourceLimitsAndScopeStatToResourceLimitsAndUsage(rl rcmgr.Re... type ResourceInfos (line 339) | type ResourceInfos type ResourceInfo (line 341) | type ResourceInfo struct function LimitConfigsToInfo (line 349) | func LimitConfigsToInfo(stats LimitsConfigAndUsage) ResourceInfos { constant limitNameMemory (line 380) | limitNameMemory = "Memory" constant limitNameFD (line 381) | limitNameFD = "FD" constant limitNameConns (line 382) | limitNameConns = "Conns" constant limitNameConnsInbound (line 383) | limitNameConnsInbound = "ConnsInbound" constant limitNameConnsOutbound (line 384) | limitNameConnsOutbound = "ConnsOutbound" constant limitNameStreams (line 385) | limitNameStreams = "Streams" constant limitNameStreamsInbound (line 386) | limitNameStreamsInbound = "StreamsInbound" constant limitNameStreamsOutbound (line 387) | limitNameStreamsOutbound = "StreamsOutbound" function resourceLimitsAndUsageToResourceInfo (line 401) | func resourceLimitsAndUsageToResourceInfo(scopeName string, stats Resour... function ensureConnMgrMakeSenseVsResourceMgr (line 453) | func ensureConnMgrMakeSenseVsResourceMgr(concreteLimits rcmgr.ConcreteLi... FILE: core/node/libp2p/rcmgr_defaults.go function createDefaultLimitConfig (line 21) | func createDefaultLimitConfig(cfg config.SwarmConfig) (limitConfig rcmgr... FILE: core/node/libp2p/rcmgr_logging.go type loggingResourceManager (line 18) | type loggingResourceManager struct method start (line 38) | func (n *loggingResourceManager) start(ctx context.Context) { method countErrs (line 69) | func (n *loggingResourceManager) countErrs(err error) { method ViewSystem (line 86) | func (n *loggingResourceManager) ViewSystem(f func(network.ResourceSco... method ViewTransient (line 90) | func (n *loggingResourceManager) ViewTransient(f func(network.Resource... method ViewService (line 96) | func (n *loggingResourceManager) ViewService(svc string, f func(networ... method ViewProtocol (line 102) | func (n *loggingResourceManager) ViewProtocol(p protocol.ID, f func(ne... method ViewPeer (line 108) | func (n *loggingResourceManager) ViewPeer(p peer.ID, f func(network.Pe... method OpenConnection (line 114) | func (n *loggingResourceManager) OpenConnection(dir network.Direction,... method OpenStream (line 120) | func (n *loggingResourceManager) OpenStream(p peer.ID, dir network.Dir... method Close (line 126) | func (n *loggingResourceManager) Close() error { method ListServices (line 130) | func (n *loggingResourceManager) ListServices() []string { method ListProtocols (line 139) | func (n *loggingResourceManager) ListProtocols() []protocol.ID { method ListPeers (line 148) | func (n *loggingResourceManager) ListPeers() []peer.ID { method Stat (line 157) | func (n *loggingResourceManager) Stat() rcmgr.ResourceManagerStat { method VerifySourceAddress (line 166) | func (n *loggingResourceManager) VerifySourceAddress(addr net.Addr) bo... type loggingScope (line 27) | type loggingScope struct method ReserveMemory (line 170) | func (s *loggingScope) ReserveMemory(size int, prio uint8) error { method ReleaseMemory (line 176) | func (s *loggingScope) ReleaseMemory(size int) { method Stat (line 180) | func (s *loggingScope) Stat() network.ScopeStat { method BeginSpan (line 184) | func (s *loggingScope) BeginSpan() (network.ResourceScopeSpan, error) { method Done (line 188) | func (s *loggingScope) Done() { method Name (line 192) | func (s *loggingScope) Name() string { method Protocol (line 196) | func (s *loggingScope) Protocol() protocol.ID { method Peer (line 200) | func (s *loggingScope) Peer() peer.ID { method PeerScope (line 204) | func (s *loggingScope) PeerScope() network.PeerScope { method SetPeer (line 208) | func (s *loggingScope) SetPeer(p peer.ID) error { method ProtocolScope (line 214) | func (s *loggingScope) ProtocolScope() network.ProtocolScope { method SetProtocol (line 218) | func (s *loggingScope) SetProtocol(proto protocol.ID) error { method ServiceScope (line 224) | func (s *loggingScope) ServiceScope() network.ServiceScope { method SetService (line 228) | func (s *loggingScope) SetService(srv string) error { method Limit (line 234) | func (s *loggingScope) Limit() rcmgr.Limit { method SetLimit (line 238) | func (s *loggingScope) SetLimit(limit rcmgr.Limit) { FILE: core/node/libp2p/rcmgr_logging_test.go function TestLoggingResourceManager (line 16) | func TestLoggingResourceManager(t *testing.T) { FILE: core/node/libp2p/relay.go function RelayTransport (line 14) | func RelayTransport(enableRelay bool) func() (opts Libp2pOpts, err error) { function RelayService (line 25) | func RelayService(enable bool, relayOpts config.RelayService) func() (op... function MaybeAutoRelay (line 48) | func MaybeAutoRelay(staticRelays []string, cfgPeering config.Peering, en... function HolePunching (line 108) | func HolePunching(flag config.Flag, hasRelayClient bool) func() (opts Li... FILE: core/node/libp2p/routing.go type Router (line 31) | type Router struct type p2pRouterOut (line 37) | type p2pRouterOut struct type processInitialRoutingIn (line 43) | type processInitialRoutingIn struct type processInitialRoutingOut (line 54) | type processInitialRoutingOut struct type AddrInfoChan (line 64) | type AddrInfoChan function BaseRouting (line 66) | func BaseRouting(cfg *config.Config) any { type p2pOnlineContentRoutingIn (line 159) | type p2pOnlineContentRoutingIn struct function ContentRouting (line 167) | func ContentRouting(in p2pOnlineContentRoutingIn) routing.ContentRouting { function ContentDiscovery (line 184) | func ContentDiscovery(in irouting.ProvideManyRouter) routing.ContentDisc... type p2pOnlineRoutingIn (line 188) | type p2pOnlineRoutingIn struct function Routing (line 197) | func Routing(in p2pOnlineRoutingIn) irouting.ProvideManyRouter { function OfflineRouting (line 218) | func OfflineRouting(dstore ds.Datastore, validator record.Validator) p2p... type p2pPSRoutingIn (line 227) | type p2pPSRoutingIn struct function PubsubRouter (line 235) | func PubsubRouter(mctx helpers.MetricsCtx, lc fx.Lifecycle, in p2pPSRout... function autoRelayFeeder (line 260) | func autoRelayFeeder(cfgPeering config.Peering, peerChan chan<- peer.Add... FILE: core/node/libp2p/routingopt.go type RoutingOptionArgs (line 26) | type RoutingOptionArgs struct type RoutingOption (line 37) | type RoutingOption type EndpointSource (line 42) | type EndpointSource struct function determineCapabilities (line 49) | func determineCapabilities(endpoint EndpointSource) (string, autoconf.En... function collectAllEndpoints (line 60) | func collectAllEndpoints(cfg *config.Config) []EndpointSource { function constructDefaultHTTPRouters (line 111) | func constructDefaultHTTPRouters(cfg *config.Config, addrFunc func() []m... function ConstructDelegatedOnlyRouting (line 191) | func ConstructDelegatedOnlyRouting(cfg *config.Config) RoutingOption { function ConstructDefaultRouting (line 215) | func ConstructDefaultRouting(cfg *config.Config, routingOpt RoutingOptio... function constructDHTRouting (line 246) | func constructDHTRouting(mode dht.ModeOpt) RoutingOption { function ConstructDelegatedRouting (line 277) | func ConstructDelegatedRouting(routers config.Routers, methods config.Me... function constructNilRouting (line 298) | func constructNilRouting(_ RoutingOptionArgs) (routing.Routing, error) { type confirmedAddrsHost (line 310) | type confirmedAddrsHost interface function httpRouterAddrFunc (line 331) | func httpRouterAddrFunc(h host.Host, cfgAddrs config.Addresses) func() [... function parseMultiaddrs (line 372) | func parseMultiaddrs(strs []string) []ma.Multiaddr { FILE: core/node/libp2p/routingopt_test.go function TestDetermineCapabilities (line 20) | func TestDetermineCapabilities(t *testing.T) { function TestEndpointCapabilitiesReadWriteLogic (line 142) | func TestEndpointCapabilitiesReadWriteLogic(t *testing.T) { type stubHost (line 211) | type stubHost struct method ConfirmedAddrs (line 215) | func (h *stubHost) ConfirmedAddrs() (reachable, unreachable, unknown [... method ID (line 219) | func (h *stubHost) ID() peer.ID ... method Addrs (line 220) | func (h *stubHost) Addrs() []ma.Multiaddr ... method Peerstore (line 221) | func (h *stubHost) Peerstore() peerstore.Peerstore ... method Network (line 222) | func (h *stubHost) Network() network.Network ... method Mux (line 223) | func (h *stubHost) Mux() protocol.Switch ... method Connect (line 224) | func (h *stubHost) Connect(context.Context, peer.AddrInfo) error ... method SetStreamHandler (line 225) | func (h *stubHost) SetStreamHandler(protocol.ID, network.StreamHandler... method SetStreamHandlerMatch (line 226) | func (h *stubHost) SetStreamHandlerMatch(protocol.ID, func(protocol.ID... method RemoveStreamHandler (line 229) | func (h *stubHost) RemoveStreamHandler(protocol.ID) { panic("unused") } method NewStream (line 230) | func (h *stubHost) NewStream(context.Context, peer.ID, ...protocol.ID)... method Close (line 233) | func (h *stubHost) Close() error { panic("unused") } method ConnManager (line 234) | func (h *stubHost) ConnManager() connmgr.ConnManager { panic("unused") } method EventBus (line 235) | func (h *stubHost) EventBus() event.Bus { panic("unused") } function TestHttpRouterAddrFunc (line 237) | func TestHttpRouterAddrFunc(t *testing.T) { FILE: core/node/libp2p/sec.go function Security (line 11) | func Security(enabled bool, tptConfig config.Transports) any { FILE: core/node/libp2p/smux.go function makeSmuxTransportOption (line 13) | func makeSmuxTransportOption(tptConfig config.Transports) (libp2p.Option... function SmuxTransport (line 24) | func SmuxTransport(tptConfig config.Transports) func() (opts Libp2pOpts,... FILE: core/node/libp2p/topicdiscovery.go function TopicDiscovery (line 15) | func TopicDiscovery() any { FILE: core/node/libp2p/transport.go function Transports (line 20) | func Transports(tptConfig config.Transports) any { function BandwidthCounter (line 83) | func BandwidthCounter() (opts Libp2pOpts, reporter *metrics.BandwidthCou... FILE: core/node/p2pforge_resolver.go type p2pForgeResolver (line 29) | type p2pForgeResolver struct method LookupIPAddr (line 58) | func (r *p2pForgeResolver) LookupIPAddr(ctx context.Context, hostname ... method LookupTXT (line 118) | func (r *p2pForgeResolver) LookupTXT(ctx context.Context, hostname str... function NewP2PForgeResolver (line 41) | func NewP2PForgeResolver(suffixes []string, fallback madns.BasicResolver... FILE: core/node/p2pforge_resolver_test.go constant testPeerID (line 19) | testPeerID = "k51qzi5uqu5dhnwe629wdlncpql6frppdpwnz4wtlcw816aysd5wwlk63g... constant domainSuffix (line 22) | domainSuffix = config.DefaultDomainSuffix type mockResolver (line 26) | type mockResolver struct method LookupIPAddr (line 32) | func (m *mockResolver) LookupIPAddr(_ context.Context, hostname string... method LookupTXT (line 42) | func (m *mockResolver) LookupTXT(_ context.Context, name string) ([]st... function newTestResolver (line 50) | func newTestResolver(t *testing.T) *p2pForgeResolver { function assertLookupIP (line 56) | func assertLookupIP(t *testing.T, r *p2pForgeResolver, hostname, wantIP ... function TestP2PForgeResolver_LookupIPAddr (line 64) | func TestP2PForgeResolver_LookupIPAddr(t *testing.T) { function TestP2PForgeResolver_LookupIPAddr_MultipleSuffixes (line 92) | func TestP2PForgeResolver_LookupIPAddr_MultipleSuffixes(t *testing.T) { function TestP2PForgeResolver_LookupIPAddr_FallbackToNetwork (line 110) | func TestP2PForgeResolver_LookupIPAddr_FallbackToNetwork(t *testing.T) { function TestP2PForgeResolver_LookupIPAddr_FallbackError (line 143) | func TestP2PForgeResolver_LookupIPAddr_FallbackError(t *testing.T) { function TestP2PForgeResolver_LookupTXT (line 152) | func TestP2PForgeResolver_LookupTXT(t *testing.T) { FILE: core/node/peering.go function Peering (line 14) | func Peering(lc fx.Lifecycle, host host.Host) *peering.PeeringService { function PeerWith (line 29) | func PeerWith(peers ...peer.AddrInfo) fx.Option { FILE: core/node/provider.go constant sampledBatchSize (line 50) | sampledBatchSize = 1000 constant reprovideStrategyKey (line 53) | reprovideStrategyKey = "/reprovideStrategy" constant KeystoreDatastorePath (line 56) | KeystoreDatastorePath = "provider-keystore" function validateKeystoreSuffix (line 72) | func validateKeystoreSuffix(suffix string) error { constant reprovideAlertPollInterval (line 81) | reprovideAlertPollInterval = 15 * time.Minute constant consecutiveAlertsThreshold (line 86) | consecutiveAlertsThreshold = 3 type DHTProvider (line 92) | type DHTProvider interface type NoopProvider (line 155) | type NoopProvider struct method StartProviding (line 157) | func (r *NoopProvider) StartProviding(bool, ...mh.Multihash) error { r... method ProvideOnce (line 158) | func (r *NoopProvider) ProvideOnce(...mh.Multihash) error { r... method Clear (line 159) | func (r *NoopProvider) Clear() int { r... method RefreshSchedule (line 160) | func (r *NoopProvider) RefreshSchedule() error { r... method Close (line 161) | func (r *NoopProvider) Close() error { r... type LegacyProvider (line 171) | type LegacyProvider struct method StartProviding (line 175) | func (r *LegacyProvider) StartProviding(force bool, keys ...mh.Multiha... method ProvideOnce (line 179) | func (r *LegacyProvider) ProvideOnce(keys ...mh.Multihash) error { method Clear (line 192) | func (r *LegacyProvider) Clear() int { method RefreshSchedule (line 196) | func (r *LegacyProvider) RefreshSchedule() error { return nil } function LegacyProviderOpt (line 200) | func LegacyProviderOpt(reprovideInterval time.Duration, strategy string,... type dhtImpl (line 342) | type dhtImpl interface type fullrtRouter (line 349) | type fullrtRouter struct method GetClosestPeers (line 365) | func (fr *fullrtRouter) GetClosestPeers(ctx context.Context, key strin... function newFullRTRouter (line 355) | func newFullRTRouter(fr *fullrt.FullRT, loggerName string) *fullrtRouter { type addrsFilter (line 388) | type addrsFilter interface function findRootDatastoreSpec (line 396) | func findRootDatastoreSpec(spec map[string]any) map[string]any { function MountKeystoreDatastores (line 437) | func MountKeystoreDatastores(repo repo.Repo) ([]mount.Mount, func(), err... function openDatastoreAt (line 479) | func openDatastoreAt(rootSpec map[string]any, path string) (datastore.Ba... function copySpec (line 491) | func copySpec(spec map[string]any) map[string]any { constant purgeBatchSize (line 519) | purgeBatchSize = 1 << 12 function purgeOrphanedKeystoreData (line 528) | func purgeOrphanedKeystoreData(ctx context.Context, ds datastore.Batchin... function SweepingProviderOpt (line 586) | func SweepingProviderOpt(cfg *config.Config) fx.Option { function hasDHTRouting (line 1051) | func hasDHTRouting(cfg *config.Config) bool { function routerIncludesDHT (line 1071) | func routerIncludesDHT(rp config.RouterParser, cfg *config.Config) bool { function OnlineProviders (line 1090) | func OnlineProviders(provide bool, cfg *config.Config) fx.Option { function OfflineProviders (line 1127) | func OfflineProviders() fx.Option { function mfsProvider (line 1133) | func mfsProvider(mfsRoot *mfs.Root, fetcher fetcher.Factory) provider.Ke... type provStrategyIn (line 1149) | type provStrategyIn struct type provStrategyOut (line 1159) | type provStrategyOut struct function createKeyProvider (line 1171) | func createKeyProvider(strategyFlag config.ProvideStrategy, in provStrat... function detectStrategyChange (line 1191) | func detectStrategyChange(ctx context.Context, strategy string, ds datas... function persistStrategy (line 1208) | func persistStrategy(ctx context.Context, strategy string, ds datastore.... function handleStrategyChange (line 1221) | func handleStrategyChange(strategy string, provider DHTProvider, ds data... function setReproviderKeyProvider (line 1242) | func setReproviderKeyProvider(strategy string) func(in provStrategyIn) p... FILE: core/node/storage.go function RepoConfig (line 16) | func RepoConfig(repo repo.Repo) (*config.Config, error) { function Datastore (line 22) | func Datastore(repo repo.Repo) datastore.Datastore { type BaseBlocks (line 27) | type BaseBlocks function BaseBlockstoreCtor (line 30) | func BaseBlockstoreCtor( function GcBlockstoreCtor (line 71) | func GcBlockstoreCtor(bb BaseBlocks) (gclocker blockstore.GCLocker, gcbs... function FilestoreBlockstoreCtor (line 80) | func FilestoreBlockstoreCtor(repo repo.Repo, bb BaseBlocks, prov DHTProv... FILE: coverage/main/main.go function main (line 15) | func main() { FILE: docs/examples/kubo-as-a-library/main.go function setupPlugins (line 31) | func setupPlugins(externalPluginsPath string) error { function createTempRepo (line 50) | func createTempRepo() (string, error) { function createNode (line 112) | func createNode(ctx context.Context, repoPath string) (*core.IpfsNode, e... function spawnEphemeral (line 138) | func spawnEphemeral(ctx context.Context) (icore.CoreAPI, *core.IpfsNode,... function connectToPeers (line 163) | func connectToPeers(ctx context.Context, ipfs icore.CoreAPI, peers []str... function getUnixfsNode (line 197) | func getUnixfsNode(path string) (files.Node, error) { function main (line 215) | func main() { FILE: docs/examples/kubo-as-a-library/main_test.go function TestExample (line 13) | func TestExample(t *testing.T) { FILE: fuse/ipns/common.go function InitializeKeyspace (line 15) | func InitializeKeyspace(n *core.IpfsNode, key ci.PrivKey) error { FILE: fuse/ipns/ipns_test.go function maybeSkipFuseTests (line 26) | func maybeSkipFuseTests(t *testing.T) { function randBytes (line 32) | func randBytes(size int) []byte { function mkdir (line 41) | func mkdir(t *testing.T, path string) { function writeFileOrFail (line 48) | func writeFileOrFail(t *testing.T, size int, path string) []byte { function writeFile (line 56) | func writeFile(size int, path string) ([]byte, error) { function verifyFile (line 62) | func verifyFile(t *testing.T, path string, wantData []byte) { function checkExists (line 75) | func checkExists(t *testing.T, path string) { function closeMount (line 82) | func closeMount(mnt *mountWrap) { type mountWrap (line 90) | type mountWrap struct method Close (line 95) | func (m *mountWrap) Close() error { function setupIpnsTest (line 101) | func setupIpnsTest(t *testing.T, node *core.IpfsNode) (*core.IpfsNode, *... function TestIpnsLocalLink (line 141) | func TestIpnsLocalLink(t *testing.T) { function TestIpnsBasicIO (line 159) | func TestIpnsBasicIO(t *testing.T) { function TestFilePersistence (line 190) | func TestFilePersistence(t *testing.T) { function TestMultipleDirs (line 215) | func TestMultipleDirs(t *testing.T) { function TestFileSizeReporting (line 253) | func TestFileSizeReporting(t *testing.T) { function TestDoubleEntryFailure (line 274) | func TestDoubleEntryFailure(t *testing.T) { function TestAppendFile (line 293) | func TestAppendFile(t *testing.T) { function TestConcurrentWrites (line 334) | func TestConcurrentWrites(t *testing.T) { function TestFSThrash (line 381) | func TestFSThrash(t *testing.T) { function TestMultiWrite (line 466) | func TestMultiWrite(t *testing.T) { FILE: fuse/ipns/ipns_unix.go function init (line 30) | func init() { type FileSystem (line 41) | type FileSystem struct method Root (line 61) | func (f *FileSystem) Root() (fs.Node, error) { method Destroy (line 66) | func (f *FileSystem) Destroy() { function NewFileSystem (line 47) | func NewFileSystem(ctx context.Context, ipfs iface.CoreAPI, ipfspath, ip... type Root (line 74) | type Root struct method Attr (line 154) | func (r *Root) Attr(ctx context.Context, a *fuse.Attr) error { method Lookup (line 161) | func (r *Root) Lookup(ctx context.Context, name string) (fs.Node, erro... method Close (line 199) | func (r *Root) Close() error { method Forget (line 211) | func (r *Root) Forget() { method ReadDirAll (line 220) | func (r *Root) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) { function ipnsPubFunc (line 87) | func ipnsPubFunc(ipfs iface.CoreAPI, key iface.Key) mfs.PubFunc { function loadRoot (line 94) | func loadRoot(ctx context.Context, ipfs iface.CoreAPI, key iface.Key) (*... function CreateRoot (line 121) | func CreateRoot(ctx context.Context, ipfs iface.CoreAPI, keys map[string... type Directory (line 239) | type Directory struct method Attr (line 253) | func (d *Directory) Attr(ctx context.Context, a *fuse.Attr) error { method Lookup (line 277) | func (d *Directory) Lookup(ctx context.Context, name string) (fs.Node,... method ReadDirAll (line 297) | func (d *Directory) ReadDirAll(ctx context.Context) ([]fuse.Dirent, er... method Mkdir (line 408) | func (d *Directory) Mkdir(ctx context.Context, req *fuse.MkdirRequest)... method Create (line 458) | func (d *Directory) Create(ctx context.Context, req *fuse.CreateReques... method Remove (line 490) | func (d *Directory) Remove(ctx context.Context, req *fuse.RemoveReques... method Rename (line 499) | func (d *Directory) Rename(ctx context.Context, req *fuse.RenameReques... type FileNode (line 243) | type FileNode struct method Attr (line 262) | func (fi *FileNode) Attr(ctx context.Context, a *fuse.Attr) error { method Fsync (line 385) | func (fi *FileNode) Fsync(ctx context.Context, req *fuse.FsyncRequest)... method Open (line 417) | func (fi *FileNode) Open(ctx context.Context, req *fuse.OpenRequest, r... type File (line 248) | type File struct method Read (line 322) | func (fi *File) Read(ctx context.Context, req *fuse.ReadRequest, resp ... method Write (line 345) | func (fi *File) Write(ctx context.Context, req *fuse.WriteRequest, res... method Flush (line 355) | func (fi *File) Flush(ctx context.Context, req *fuse.FlushRequest) err... method Setattr (line 368) | func (fi *File) Setattr(ctx context.Context, req *fuse.SetattrRequest,... method Forget (line 400) | func (fi *File) Forget() { method Release (line 454) | func (fi *File) Release(ctx context.Context, req *fuse.ReleaseRequest)... type ipnsRoot (line 532) | type ipnsRoot interface type ipnsDirectory (line 540) | type ipnsDirectory interface type ipnsFile (line 552) | type ipnsFile interface type ipnsFileNode (line 559) | type ipnsFileNode interface FILE: fuse/ipns/link_unix.go type Link (line 13) | type Link struct method Attr (line 17) | func (l *Link) Attr(ctx context.Context, a *fuse.Attr) error { method Readlink (line 23) | func (l *Link) Readlink(ctx context.Context, req *fuse.ReadlinkRequest... FILE: fuse/ipns/mount_unix.go function Mount (line 12) | func Mount(ipfs *core.IpfsNode, ipnsmp, ipfsmp string) (mount.Mount, err... FILE: fuse/mfs/mfs_test.go function setUp (line 26) | func setUp(t *testing.T, ipfs *core.IpfsNode) (fs.FS, *fstestutil.Mount) { function TestReadWrite (line 52) | func TestReadWrite(t *testing.T) { function TestMkdir (line 94) | func TestMkdir(t *testing.T) { function TestPersistence (line 118) | func TestPersistence(t *testing.T) { function TestAttr (line 169) | func TestAttr(t *testing.T) { function TestConcurrentRW (line 220) | func TestConcurrentRW(t *testing.T) { function TestMFSRootXattr (line 298) | func TestMFSRootXattr(t *testing.T) { FILE: fuse/mfs/mfs_unix.go constant ipfsCIDXattr (line 23) | ipfsCIDXattr = "ipfs_cid" constant mfsDirMode (line 24) | mfsDirMode = os.ModeDir | 0755 constant mfsFileMode (line 25) | mfsFileMode = 0644 constant blockSize (line 26) | blockSize = 512 constant dirSize (line 27) | dirSize = 8 type FileSystem (line 31) | type FileSystem struct method Root (line 36) | func (fs *FileSystem) Root() (fs.Node, error) { type Dir (line 41) | type Dir struct method Attr (line 46) | func (dir *Dir) Attr(ctx context.Context, attr *fuse.Attr) error { method Lookup (line 54) | func (dir *Dir) Lookup(ctx context.Context, req *fuse.LookupRequest, r... method ReadDirAll (line 81) | func (dir *Dir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) { method Mkdir (line 102) | func (dir *Dir) Mkdir(ctx context.Context, req *fuse.MkdirRequest) (fs... method Remove (line 113) | func (dir *Dir) Remove(ctx context.Context, req *fuse.RemoveRequest) e... method Rename (line 138) | func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, n... method Create (line 169) | func (dir *Dir) Create(ctx context.Context, req *fuse.CreateRequest, r... method Listxattr (line 217) | func (dir *Dir) Listxattr(ctx context.Context, req *fuse.ListxattrRequ... method Getxattr (line 223) | func (dir *Dir) Getxattr(ctx context.Context, req *fuse.GetxattrReques... type File (line 238) | type File struct method Attr (line 243) | func (file *File) Attr(ctx context.Context, attr *fuse.Attr) error { method Open (line 261) | func (file *File) Open(ctx context.Context, req *fuse.OpenRequest, res... method Fsync (line 285) | func (file *File) Fsync(ctx context.Context, req *fuse.FsyncRequest) e... method Listxattr (line 290) | func (file *File) Listxattr(ctx context.Context, req *fuse.ListxattrRe... method Getxattr (line 296) | func (file *File) Getxattr(ctx context.Context, req *fuse.GetxattrRequ... type FileHandler (line 312) | type FileHandler struct method Read (line 318) | func (fh *FileHandler) Read(ctx context.Context, req *fuse.ReadRequest... method Write (line 341) | func (fh *FileHandler) Write(ctx context.Context, req *fuse.WriteReque... method Flush (line 355) | func (fh *FileHandler) Flush(ctx context.Context, req *fuse.FlushReque... method Release (line 363) | func (fh *FileHandler) Release(ctx context.Context, req *fuse.ReleaseR... function NewFileSystem (line 371) | func NewFileSystem(ipfs *core.IpfsNode) fs.FS { type mfsDir (line 380) | type mfsDir interface type mfsFile (line 394) | type mfsFile interface type mfsHandler (line 404) | type mfsHandler interface FILE: fuse/mfs/mount_unix.go function Mount (line 11) | func Mount(ipfs *core.IpfsNode, mountpoint string) (mount.Mount, error) { FILE: fuse/mount/fuse.go type mount (line 18) | type mount struct method mount (line 66) | func (m *mount) mount() error { method unmount (line 105) | func (m *mount) unmount() error { method MountPoint (line 134) | func (m *mount) MountPoint() string { method Unmount (line 138) | func (m *mount) Unmount() error { method IsActive (line 151) | func (m *mount) IsActive() bool { method setActive (line 158) | func (m *mount) setActive(a bool) { function NewMount (line 31) | func NewMount(fsys fs.FS, mountpoint string, allowOther bool) (Mount, er... FILE: fuse/mount/mount.go type Mount (line 19) | type Mount interface function ForceUnmount (line 32) | func ForceUnmount(m Mount) error { function UnmountCmd (line 64) | func UnmountCmd(point string) (*exec.Cmd, error) { function ForceUnmountManyTimes (line 78) | func ForceUnmountManyTimes(m Mount, attempts int) error { type closer (line 91) | type closer struct method Close (line 95) | func (c *closer) Close() error { function Closer (line 100) | func Closer(m Mount) io.Closer { FILE: fuse/node/mount_darwin.go function init (line 18) | func init() { constant dontCheckOSXFUSEConfigKey (line 25) | dontCheckOSXFUSEConfigKey = "DontCheckOSXFUSE" constant fuseVersionPkg (line 28) | fuseVersionPkg = "github.com/jbenet/go-fuse-version/fuse-version" constant errStrFuseRequired (line 31) | errStrFuseRequired = `OSXFUSE not found. type errNeedFuseVersion (line 61) | type errNeedFuseVersion struct method Error (line 65) | func (me errNeedFuseVersion) Error() string { function darwinFuseCheckVersion (line 128) | func darwinFuseCheckVersion(node *core.IpfsNode) error { function tryGFV (line 161) | func tryGFV() (string, error) { function trySysctl (line 172) | func trySysctl() (string, error) { function tryGFVFromFuseVersion (line 182) | func tryGFVFromFuseVersion() (string, error) { function ensureFuseVersionIsInstalled (line 197) | func ensureFuseVersionIsInstalled() error { function userAskedToSkipFuseCheck (line 232) | func userAskedToSkipFuseCheck(node *core.IpfsNode) (skip bool, err error) { FILE: fuse/node/mount_nofuse.go function Mount (line 11) | func Mount(node *core.IpfsNode, fsdir, nsdir, mfsdir string) error { function Unmount (line 15) | func Unmount(node *core.IpfsNode) { FILE: fuse/node/mount_notsupp.go function Mount (line 11) | func Mount(node *core.IpfsNode, fsdir, nsdir, mfsdir string) error { function Unmount (line 15) | func Unmount(node *core.IpfsNode) { FILE: fuse/node/mount_test.go function maybeSkipFuseTests (line 21) | func maybeSkipFuseTests(t *testing.T) { function mkdir (line 27) | func mkdir(t *testing.T, path string) { function TestExternalUnmount (line 35) | func TestExternalUnmount(t *testing.T) { FILE: fuse/node/mount_unix.go constant fuseNoDirectory (line 23) | fuseNoDirectory = "fusermount: failed to access mountpoint" constant fuseExitStatus1 (line 26) | fuseExitStatus1 = "fusermount: exit status 1" function Mount (line 34) | func Mount(node *core.IpfsNode, fsdir, nsdir, mfsdir string) error { function Unmount (line 47) | func Unmount(node *core.IpfsNode) { function doMount (line 68) | func doMount(node *core.IpfsNode, fsdir, nsdir, mfsdir string) error { FILE: fuse/node/mount_windows.go function Mount (line 7) | func Mount(node *core.IpfsNode, fsdir, nsdir, mfsdir string) error { function Unmount (line 13) | func Unmount(node *core.IpfsNode) { FILE: fuse/readonly/ipfs_test.go function maybeSkipFuseTests (line 36) | func maybeSkipFuseTests(t *testing.T) { function randObj (line 42) | func randObj(t *testing.T, nd *core.IpfsNode, size int64) (ipld.Node, []... function setupIpfsTest (line 57) | func setupIpfsTest(t *testing.T, node *core.IpfsNode) (*core.IpfsNode, *... function TestIpfsBasicRead (line 82) | func TestIpfsBasicRead(t *testing.T) { function getPaths (line 102) | func getPaths(t *testing.T, ipfs *core.IpfsNode, name string, n *dag.Pro... function TestIpfsStressRead (line 125) | func TestIpfsStressRead(t *testing.T) { function TestIpfsBasicDirRead (line 237) | func TestIpfsBasicDirRead(t *testing.T) { function TestFileSizeReporting (line 291) | func TestFileSizeReporting(t *testing.T) { FILE: fuse/readonly/mount_unix.go function Mount (line 11) | func Mount(ipfs *core.IpfsNode, mountpoint string) (mount.Mount, error) { FILE: fuse/readonly/readonly_unix.go type FileSystem (line 29) | type FileSystem struct method Root (line 39) | func (f FileSystem) Root() (fs.Node, error) { function NewFileSystem (line 34) | func NewFileSystem(ipfs *core.IpfsNode) *FileSystem { type Root (line 44) | type Root struct method Attr (line 49) | func (*Root) Attr(ctx context.Context, a *fuse.Attr) error { method Lookup (line 55) | func (s *Root) Lookup(ctx context.Context, name string) (fs.Node, erro... method ReadDirAll (line 119) | func (*Root) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) { type Node (line 125) | type Node struct method loadData (line 131) | func (s *Node) loadData() error { method Attr (line 143) | func (s *Node) Attr(ctx context.Context, a *fuse.Attr) error { method Lookup (line 179) | func (s *Node) Lookup(ctx context.Context, name string) (fs.Node, erro... method ReadDirAll (line 203) | func (s *Node) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error) { method Getxattr (line 256) | func (s *Node) Getxattr(ctx context.Context, req *fuse.GetxattrRequest... method Readlink (line 262) | func (s *Node) Readlink(ctx context.Context, req *fuse.ReadlinkRequest... method Read (line 269) | func (s *Node) Read(ctx context.Context, req *fuse.ReadRequest, resp *... type roRoot (line 292) | type roRoot interface type roNode (line 300) | type roNode interface FILE: gc/gc.go type Result (line 26) | type Result struct function toRawCids (line 32) | func toRawCids(set *cid.Set) (*cid.Set, error) { function GC (line 50) | func GC(ctx context.Context, bs bstore.GCBlockstore, dstor dstore.Datast... function Descendants (line 157) | func Descendants(ctx context.Context, getLinks dag.GetLinks, set *cid.Se... function toCidV1 (line 203) | func toCidV1(c cid.Cid) cid.Cid { function ColoredSet (line 212) | func ColoredSet(ctx context.Context, pn pin.Pinner, ng ipld.NodeGetter, ... type CannotFetchLinksError (line 310) | type CannotFetchLinksError struct method Error (line 317) | func (e *CannotFetchLinksError) Error() string { type CannotDeleteBlockError (line 324) | type CannotDeleteBlockError struct method Error (line 331) | func (e *CannotDeleteBlockError) Error() string { FILE: gc/gc_test.go function TestGC (line 21) | func TestGC(t *testing.T) { function toMHs (line 90) | func toMHs(cids []cid.Cid) []multihash.Multihash { FILE: misc/fsutil/fsutil.go function DirWritable (line 13) | func DirWritable(dir string) error { function ExpandHome (line 57) | func ExpandHome(path string) (string, error) { function FileExists (line 79) | func FileExists(filename string) bool { FILE: misc/fsutil/fsutil_test.go function TestDirWritable (line 14) | func TestDirWritable(t *testing.T) { function TestFileExists (line 50) | func TestFileExists(t *testing.T) { function TestExpandHome (line 61) | func TestExpandHome(t *testing.T) { FILE: p2p/listener.go type Listener (line 14) | type Listener interface type Listeners (line 31) | type Listeners struct method Register (line 68) | func (r *Listeners) Register(l Listener) error { method Close (line 82) | func (r *Listeners) Close(matchFunc func(listener Listener) bool) int { function newListenersLocal (line 37) | func newListenersLocal() *Listeners { function newListenersP2P (line 43) | func newListenersP2P(host p2phost.Host) *Listeners { FILE: p2p/local.go type localListener (line 16) | type localListener struct method dial (line 56) | func (l *localListener) dial(ctx context.Context) (net.Stream, error) { method acceptConns (line 63) | func (l *localListener) acceptConns() { method setupStream (line 77) | func (l *localListener) setupStream(local manet.Conn) { method close (line 101) | func (l *localListener) close() { method Done (line 106) | func (l *localListener) Done() <-chan struct{} { method Protocol (line 110) | func (l *localListener) Protocol() protocol.ID { method ListenAddress (line 114) | func (l *localListener) ListenAddress() ma.Multiaddr { method TargetAddress (line 118) | func (l *localListener) TargetAddress() ma.Multiaddr { method key (line 126) | func (l *localListener) key() protocol.ID { method ForwardLocal (line 30) | func (p2p *P2P) ForwardLocal(ctx context.Context, peer peer.ID, proto pr... FILE: p2p/p2p.go type P2P (line 14) | type P2P struct method CheckProtoExists (line 44) | func (p2p *P2P) CheckProtoExists(proto protocol.ID) bool { function New (line 25) | func New(identity peer.ID, peerHost p2phost.Host, peerstore pstore.Peers... FILE: p2p/remote.go type remoteListener (line 16) | type remoteListener struct method handleStream (line 51) | func (l *remoteListener) handleStream(remote net.Stream) { method Protocol (line 89) | func (l *remoteListener) Protocol() protocol.ID { method ListenAddress (line 93) | func (l *remoteListener) ListenAddress() ma.Multiaddr { method TargetAddress (line 101) | func (l *remoteListener) TargetAddress() ma.Multiaddr { method close (line 105) | func (l *remoteListener) close() { method Done (line 109) | func (l *remoteListener) Done() <-chan struct{} { method key (line 113) | func (l *remoteListener) key() protocol.ID { method ForwardRemote (line 33) | func (p2p *P2P) ForwardRemote(ctx context.Context, proto protocol.ID, ad... FILE: p2p/stream.go constant cmgrTag (line 15) | cmgrTag = "stream-fwd" type Stream (line 18) | type Stream struct method close (line 34) | func (s *Stream) close() { method reset (line 39) | func (s *Stream) reset() { method startStreaming (line 43) | func (s *Stream) startStreaming() { type StreamRegistry (line 64) | type StreamRegistry struct method Register (line 75) | func (r *StreamRegistry) Register(streamInfo *Stream) { method Deregister (line 90) | func (r *StreamRegistry) Deregister(streamID uint64) { method Close (line 109) | func (r *StreamRegistry) Close(s *Stream) { method Reset (line 116) | func (r *StreamRegistry) Reset(s *Stream) { FILE: plugin/daemon.go type PluginDaemon (line 9) | type PluginDaemon interface FILE: plugin/daemoninternal.go type PluginDaemonInternal (line 10) | type PluginDaemonInternal interface FILE: plugin/datastore.go type PluginDatastore (line 9) | type PluginDatastore interface FILE: plugin/fx.go type PluginFx (line 17) | type PluginFx interface FILE: plugin/ipld.go type PluginIPLD (line 9) | type PluginIPLD interface FILE: plugin/loader/load_nocgo.go function init (line 11) | func init() { function nocgoLoadPlugin (line 15) | func nocgoLoadPlugin(fi string) ([]iplugin.Plugin, error) { FILE: plugin/loader/load_noplugin.go function init (line 11) | func init() { function nopluginLoadPlugin (line 15) | func nopluginLoadPlugin(string) ([]iplugin.Plugin, error) { FILE: plugin/loader/load_unix.go function init (line 12) | func init() { function unixLoadPlugin (line 16) | func unixLoadPlugin(fi string) ([]iplugin.Plugin, error) { FILE: plugin/loader/loader.go function Preload (line 28) | func Preload(plugins ...plugin.Plugin) { type loaderState (line 38) | type loaderState method String (line 53) | func (ls loaderState) String() string { constant loaderLoading (line 41) | loaderLoading loaderState = iota constant loaderInitializing (line 42) | loaderInitializing constant loaderInitialized (line 43) | loaderInitialized constant loaderInjecting (line 44) | loaderInjecting constant loaderInjected (line 45) | loaderInjected constant loaderStarting (line 46) | loaderStarting constant loaderStarted (line 47) | loaderStarted constant loaderClosing (line 48) | loaderClosing constant loaderClosed (line 49) | loaderClosed constant loaderFailed (line 50) | loaderFailed type PluginLoader (line 89) | type PluginLoader struct method assertState (line 149) | func (loader *PluginLoader) assertState(state loaderState) error { method transition (line 156) | func (loader *PluginLoader) transition(from, to loaderState) error { method Load (line 165) | func (loader *PluginLoader) Load(pl plugin.Plugin) error { method LoadDirectory (line 191) | func (loader *PluginLoader) LoadDirectory(pluginDir string) error { method Initialize (line 250) | func (loader *PluginLoader) Initialize() error { method Inject (line 269) | func (loader *PluginLoader) Inject() error { method Start (line 309) | func (loader *PluginLoader) Start(node *core.IpfsNode) error { method Close (line 340) | func (loader *PluginLoader) Close() error { function NewPluginLoader (line 98) | func NewPluginLoader(repo string) (*PluginLoader, error) { function readPluginsConfig (line 125) | func readPluginsConfig(repoRoot string, userConfigFile string) (config.P... function loadDynamicPlugins (line 208) | func loadDynamicPlugins(pluginDir string) ([]plugin.Plugin, error) { function injectDatastorePlugin (line 371) | func injectDatastorePlugin(pl plugin.PluginDatastore) error { function injectIPLDPlugin (line 375) | func injectIPLDPlugin(pl plugin.PluginIPLD) error { function injectTracerPlugin (line 379) | func injectTracerPlugin(pl plugin.PluginTracer) error { function injectFxPlugin (line 389) | func injectFxPlugin(pl plugin.PluginFx) error { FILE: plugin/loader/preload.go function init (line 20) | func init() { FILE: plugin/plugin.go type Environment (line 4) | type Environment struct type Plugin (line 22) | type Plugin interface FILE: plugin/plugins/badgerds/badgerds.go type badgerdsPlugin (line 24) | type badgerdsPlugin struct method Name (line 28) | func (*badgerdsPlugin) Name() string { method Version (line 32) | func (*badgerdsPlugin) Version() string { method Init (line 36) | func (*badgerdsPlugin) Init(_ *plugin.Environment) error { method DatastoreTypeName (line 40) | func (*badgerdsPlugin) DatastoreTypeName() string { method DatastoreConfigParser (line 54) | func (*badgerdsPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap { type datastoreConfig (line 44) | type datastoreConfig struct method DiskSpec (line 106) | func (c *datastoreConfig) DiskSpec() fsrepo.DiskSpec { method Create (line 113) | func (c *datastoreConfig) Create(path string) (repo.Datastore, error) { FILE: plugin/plugins/dagjose/dagjose.go type dagjosePlugin (line 16) | type dagjosePlugin struct method Name (line 20) | func (*dagjosePlugin) Name() string { method Version (line 24) | func (*dagjosePlugin) Version() string { method Init (line 28) | func (*dagjosePlugin) Init(_ *plugin.Environment) error { method Register (line 32) | func (*dagjosePlugin) Register(reg multicodec.Registry) error { FILE: plugin/plugins/flatfs/flatfs.go type flatfsPlugin (line 19) | type flatfsPlugin struct method Name (line 23) | func (*flatfsPlugin) Name() string { method Version (line 27) | func (*flatfsPlugin) Version() string { method Init (line 31) | func (*flatfsPlugin) Init(_ *plugin.Environment) error { method DatastoreTypeName (line 35) | func (*flatfsPlugin) DatastoreTypeName() string { method DatastoreConfigParser (line 47) | func (*flatfsPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap { type datastoreConfig (line 39) | type datastoreConfig struct method DiskSpec (line 75) | func (c *datastoreConfig) DiskSpec() fsrepo.DiskSpec { method Create (line 83) | func (c *datastoreConfig) Create(path string) (repo.Datastore, error) { FILE: plugin/plugins/fxtest/fxtest.go type fxtestPlugin (line 20) | type fxtestPlugin struct method Name (line 24) | func (p *fxtestPlugin) Name() string { method Version (line 28) | func (p *fxtestPlugin) Version() string { method Init (line 32) | func (p *fxtestPlugin) Init(env *plugin.Environment) error { method Options (line 36) | func (p *fxtestPlugin) Options(info core.FXNodeInfo) ([]fx.Option, err... FILE: plugin/plugins/git/git.go type gitPlugin (line 21) | type gitPlugin struct method Name (line 25) | func (*gitPlugin) Name() string { method Version (line 29) | func (*gitPlugin) Version() string { method Init (line 33) | func (*gitPlugin) Init(_ *plugin.Environment) error { method Register (line 37) | func (*gitPlugin) Register(reg multicodec.Registry) error { function decodeZlibGit (line 45) | func decodeZlibGit(na ipld.NodeAssembler, r io.Reader) error { FILE: plugin/plugins/levelds/levelds.go type leveldsPlugin (line 20) | type leveldsPlugin struct method Name (line 24) | func (*leveldsPlugin) Name() string { method Version (line 28) | func (*leveldsPlugin) Version() string { method Init (line 32) | func (*leveldsPlugin) Init(_ *plugin.Environment) error { method DatastoreTypeName (line 36) | func (*leveldsPlugin) DatastoreTypeName() string { method DatastoreConfigParser (line 47) | func (*leveldsPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap { type datastoreConfig (line 40) | type datastoreConfig struct method DiskSpec (line 72) | func (c *datastoreConfig) DiskSpec() fsrepo.DiskSpec { method Create (line 79) | func (c *datastoreConfig) Create(path string) (repo.Datastore, error) { FILE: plugin/plugins/nopfs/nopfs.go type nopfsPlugin (line 22) | type nopfsPlugin struct method Name (line 29) | func (p *nopfsPlugin) Name() string { method Version (line 33) | func (p *nopfsPlugin) Version() string { method Init (line 37) | func (p *nopfsPlugin) Init(env *plugin.Environment) error { method Options (line 73) | func (p *nopfsPlugin) Options(info core.FXNodeInfo) ([]fx.Option, erro... function MakeBlocker (line 44) | func MakeBlocker(repoPath string) func() (*nopfs.Blocker, error) { function PathResolvers (line 63) | func PathResolvers(fetchers node.FetchersIn, blocker *nopfs.Blocker) nod... FILE: plugin/plugins/pebbleds/pebbleds.go type pebbledsPlugin (line 21) | type pebbledsPlugin struct method Name (line 25) | func (*pebbledsPlugin) Name() string { method Version (line 29) | func (*pebbledsPlugin) Version() string { method Init (line 33) | func (*pebbledsPlugin) Init(_ *plugin.Environment) error { method DatastoreTypeName (line 37) | func (*pebbledsPlugin) DatastoreTypeName() string { method DatastoreConfigParser (line 51) | func (*pebbledsPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap { type datastoreConfig (line 41) | type datastoreConfig struct method DiskSpec (line 177) | func (c *datastoreConfig) DiskSpec() fsrepo.DiskSpec { method Create (line 184) | func (c *datastoreConfig) Create(path string) (repo.Datastore, error) { function getConfigBool (line 148) | func getConfigBool(name string, params map[string]any) (bool, error) { function getConfigInt (line 160) | func getConfigInt(name string, params map[string]any) (int, error) { FILE: plugin/plugins/peerlog/peerlog.go type eventType (line 20) | type eventType constant eventConnect (line 30) | eventConnect eventType = iota constant eventIdentify (line 31) | eventIdentify type plEvent (line 34) | type plEvent struct type peerLogPlugin (line 49) | type peerLogPlugin struct method Name (line 63) | func (*peerLogPlugin) Name() string { method Version (line 68) | func (*peerLogPlugin) Version() string { method Init (line 98) | func (pl *peerLogPlugin) Init(env *plugin.Environment) error { method collectEvents (line 104) | func (pl *peerLogPlugin) collectEvents(node *core.IpfsNode) { method emit (line 176) | func (pl *peerLogPlugin) emit(evt eventType, p peer.ID) { method Start (line 184) | func (pl *peerLogPlugin) Start(node *core.IpfsNode) error { method Close (line 220) | func (*peerLogPlugin) Close() error { function extractEnabled (line 77) | func extractEnabled(config any) bool { FILE: plugin/plugins/peerlog/peerlog_test.go function TestExtractEnabled (line 5) | func TestExtractEnabled(t *testing.T) { FILE: plugin/plugins/telemetry/telemetry.go constant modeEnvVar (line 41) | modeEnvVar = "IPFS_TELEMETRY" constant uuidFilename (line 42) | uuidFilename = "telemetry_uuid" constant endpoint (line 43) | endpoint = "https://telemetry.ipshipyard.dev" constant sendDelay (line 44) | sendDelay = 15 * time.Minute constant sendInterval (line 45) | sendInterval = 24 * time.Hour constant httpTimeout (line 46) | httpTimeout = 30 * time.Second type pluginMode (line 49) | type pluginMode constant modeAuto (line 52) | modeAuto pluginMode = iota constant modeOn (line 53) | modeOn constant modeOff (line 54) | modeOff type LogEvent (line 82) | type LogEvent struct type telemetryPlugin (line 130) | type telemetryPlugin struct method Name (line 143) | func (p *telemetryPlugin) Name() string { method Version (line 147) | func (p *telemetryPlugin) Version() string { method Init (line 168) | func (p *telemetryPlugin) Init(env *plugin.Environment) error { method loadUUID (line 229) | func (p *telemetryPlugin) loadUUID() error { method hasDefaultBootstrapPeers (line 266) | func (p *telemetryPlugin) hasDefaultBootstrapPeers() bool { method showInfo (line 272) | func (p *telemetryPlugin) showInfo() { method Start (line 298) | func (p *telemetryPlugin) Start(n *core.IpfsNode) error { method prepareEvent (line 356) | func (p *telemetryPlugin) prepareEvent() { method collectBasicInfo (line 368) | func (p *telemetryPlugin) collectBasicInfo() { method collectRoutingInfo (line 409) | func (p *telemetryPlugin) collectRoutingInfo() { method collectProvideInfo (line 415) | func (p *telemetryPlugin) collectProvideInfo() { method collectAutoNATInfo (line 426) | func (p *telemetryPlugin) collectAutoNATInfo() { method collectSwarmInfo (line 447) | func (p *telemetryPlugin) collectSwarmInfo() { method collectAutoTLSInfo (line 469) | func (p *telemetryPlugin) collectAutoTLSInfo() { method collectAutoConfInfo (line 475) | func (p *telemetryPlugin) collectAutoConfInfo() { method collectDiscoveryInfo (line 480) | func (p *telemetryPlugin) collectDiscoveryInfo() { method collectPlatformInfo (line 484) | func (p *telemetryPlugin) collectPlatformInfo() { method sendTelemetry (line 626) | func (p *telemetryPlugin) sendTelemetry() error { function readFromConfig (line 151) | func readFromConfig(cfg any, key string) string { type reachabilityHost (line 422) | type reachabilityHost interface function isRunningInContainer (line 491) | func isRunningInContainer() bool { function detectContainer (line 498) | func detectContainer() bool { function isRunningInVM (line 571) | func isRunningInVM() bool { function detectVM (line 578) | func detectVM() bool { FILE: plugin/plugins/telemetry/telemetry_test.go function mockServer (line 22) | func mockServer(t *testing.T) (*httptest.Server, func() LogEvent) { function makeNode (line 72) | func makeNode(t *testing.T) (node *core.IpfsNode, repopath string) { function TestSendTelemetry (line 134) | func TestSendTelemetry(t *testing.T) { FILE: plugin/tracer.go type PluginTracer (line 8) | type PluginTracer interface FILE: profile/goroutines.go function WriteAllGoroutineStacks (line 10) | func WriteAllGoroutineStacks(w io.Writer) error { FILE: profile/profile.go constant CollectorGoroutinesStack (line 22) | CollectorGoroutinesStack = "goroutines-stack" constant CollectorGoroutinesPprof (line 23) | CollectorGoroutinesPprof = "goroutines-pprof" constant CollectorVersion (line 24) | CollectorVersion = "version" constant CollectorHeap (line 25) | CollectorHeap = "heap" constant CollectorAllocs (line 26) | CollectorAllocs = "allocs" constant CollectorBin (line 27) | CollectorBin = "bin" constant CollectorCPU (line 28) | CollectorCPU = "cpu" constant CollectorMutex (line 29) | CollectorMutex = "mutex" constant CollectorBlock (line 30) | CollectorBlock = "block" constant CollectorTrace (line 31) | CollectorTrace = "trace" type collector (line 39) | type collector struct method outputFileName (line 46) | func (p *collector) outputFileName() string { type Options (line 110) | type Options struct function WriteProfiles (line 117) | func WriteProfiles(ctx context.Context, archive *zip.Writer, opts Option... type profiler (line 126) | type profiler struct method runProfile (line 131) | func (p *profiler) runProfile(ctx context.Context) error { function goroutineStacksText (line 201) | func goroutineStacksText(ctx context.Context, _ Options, w io.Writer) er... function goroutineStacksProto (line 205) | func goroutineStacksProto(ctx context.Context, _ Options, w io.Writer) e... function heapProfile (line 209) | func heapProfile(ctx context.Context, _ Options, w io.Writer) error { function allocsProfile (line 213) | func allocsProfile(ctx context.Context, _ Options, w io.Writer) error { function versionInfo (line 217) | func versionInfo(ctx context.Context, _ Options, w io.Writer) error { function binary (line 221) | func binary(ctx context.Context, _ Options, w io.Writer) error { function mutexProfile (line 247) | func mutexProfile(ctx context.Context, opts Options, w io.Writer) error { function blockProfile (line 257) | func blockProfile(ctx context.Context, opts Options, w io.Writer) error { function profileCPU (line 267) | func profileCPU(ctx context.Context, opts Options, w io.Writer) error { function captureTrace (line 276) | func captureTrace(ctx context.Context, opts Options, w io.Writer) error { function waitOrCancel (line 285) | func waitOrCancel(ctx context.Context, d time.Duration) error { FILE: profile/profile_test.go function TestProfiler (line 14) | func TestProfiler(t *testing.T) { FILE: repo/common/common.go function MapGetKV (line 9) | func MapGetKV(v map[string]any, key string) (any, error) { function MapSetKV (line 37) | func MapSetKV(v map[string]any, key string, value any) error { function MapMergeDeep (line 67) | func MapMergeDeep(left, right map[string]any) map[string]any { FILE: repo/common/common_test.go function TestMapMergeDeepReturnsNew (line 9) | func TestMapMergeDeepReturnsNew(t *testing.T) { function TestMapMergeDeepNewKey (line 21) | func TestMapMergeDeepNewKey(t *testing.T) { function TestMapMergeDeepRecursesOnMaps (line 52) | func TestMapMergeDeepRecursesOnMaps(t *testing.T) { function TestMapMergeDeepRightNotAMap (line 99) | func TestMapMergeDeepRightNotAMap(t *testing.T) { FILE: repo/fsrepo/config_test.go function TestDefaultDatastoreConfig (line 75) | func TestDefaultDatastoreConfig(t *testing.T) { function TestLevelDbConfig (line 118) | func TestLevelDbConfig(t *testing.T) { function TestFlatfsConfig (line 152) | func TestFlatfsConfig(t *testing.T) { function TestMeasureConfig (line 186) | func TestMeasureConfig(t *testing.T) { FILE: repo/fsrepo/datastores.go type ConfigFromMap (line 18) | type ConfigFromMap type DatastoreConfig (line 23) | type DatastoreConfig interface type DiskSpec (line 38) | type DiskSpec method Bytes (line 41) | func (spec DiskSpec) Bytes() []byte { method String (line 51) | func (spec DiskSpec) String() string { function init (line 57) | func init() { function AddDatastoreConfigHandler (line 66) | func AddDatastoreConfigHandler(name string, dsc ConfigFromMap) error { function AnyDatastoreConfig (line 78) | func AnyDatastoreConfig(params map[string]any) (DatastoreConfig, error) { type mountDatastoreConfig (line 90) | type mountDatastoreConfig struct method DiskSpec (line 135) | func (c *mountDatastoreConfig) DiskSpec() DiskSpec { method Create (line 150) | func (c *mountDatastoreConfig) Create(path string) (repo.Datastore, er... type premount (line 94) | type premount struct function MountDatastoreConfig (line 100) | func MountDatastoreConfig(params map[string]any) (DatastoreConfig, error) { type memDatastoreConfig (line 163) | type memDatastoreConfig struct method DiskSpec (line 172) | func (c *memDatastoreConfig) DiskSpec() DiskSpec { method Create (line 176) | func (c *memDatastoreConfig) Create(string) (repo.Datastore, error) { function MemDatastoreConfig (line 168) | func MemDatastoreConfig(params map[string]any) (DatastoreConfig, error) { type logDatastoreConfig (line 180) | type logDatastoreConfig struct method Create (line 202) | func (c *logDatastoreConfig) Create(path string) (repo.Datastore, erro... method DiskSpec (line 210) | func (c *logDatastoreConfig) DiskSpec() DiskSpec { function LogDatastoreConfig (line 186) | func LogDatastoreConfig(params map[string]any) (DatastoreConfig, error) { type measureDatastoreConfig (line 214) | type measureDatastoreConfig struct method DiskSpec (line 236) | func (c *measureDatastoreConfig) DiskSpec() DiskSpec { method Create (line 240) | func (c measureDatastoreConfig) Create(path string) (repo.Datastore, e... function MeasureDatastoreConfig (line 220) | func MeasureDatastoreConfig(params map[string]any) (DatastoreConfig, err... FILE: repo/fsrepo/fsrepo.go constant LockFile (line 35) | LockFile = "repo.lock" type NoRepoError (line 57) | type NoRepoError struct method Error (line 63) | func (err NoRepoError) Error() string { constant apiFile (line 68) | apiFile = "api" constant gatewayFile (line 69) | gatewayFile = "gateway" constant swarmKeyFile (line 70) | swarmKeyFile = "swarm.key" constant specFn (line 73) | specFn = "datastore_spec" type FSRepo (line 98) | type FSRepo struct method Keystore (line 378) | func (r *FSRepo) Keystore() keystore.Keystore { method Path (line 382) | func (r *FSRepo) Path() string { method SetAPIAddr (line 387) | func (r *FSRepo) SetAPIAddr(addr ma.Multiaddr) error { method SetGatewayAddr (line 417) | func (r *FSRepo) SetGatewayAddr(addr net.Addr) error { method openConfig (line 455) | func (r *FSRepo) openConfig() error { method openUserResourceOverrides (line 466) | func (r *FSRepo) openUserResourceOverrides() error { method openKeystore (line 475) | func (r *FSRepo) openKeystore() error { method openDatastore (line 488) | func (r *FSRepo) openDatastore() error { method readSpec (line 526) | func (r *FSRepo) readSpec() (string, error) { method Close (line 539) | func (r *FSRepo) Close() error { method Config (line 577) | func (r *FSRepo) Config() (*config.Config, error) { method UserResourceOverrides (line 592) | func (r *FSRepo) UserResourceOverrides() (rcmgr.PartialLimitConfig, er... method FileManager (line 607) | func (r *FSRepo) FileManager() *filestore.FileManager { method BackupConfig (line 611) | func (r *FSRepo) BackupConfig(prefix string) (string, error) { method SetConfig (line 646) | func (r *FSRepo) SetConfig(updated *config.Config) error { method GetConfigKey (line 673) | func (r *FSRepo) GetConfigKey(key string) (any, error) { method SetConfigKey (line 689) | func (r *FSRepo) SetConfigKey(key string, value any) error { method Datastore (line 744) | func (r *FSRepo) Datastore() repo.Datastore { method GetStorageUsage (line 752) | func (r *FSRepo) GetStorageUsage(ctx context.Context) (uint64, error) { method SwarmKey (line 756) | func (r *FSRepo) SwarmKey() ([]byte, error) { function Open (line 120) | func Open(repoPath string) (repo.Repo, error) { function OpenWithUserConfig (line 129) | func OpenWithUserConfig(repoPath string, userConfigFilePath string) (rep... function open (line 136) | func open(repoPath string, userConfigFilePath string) (repo.Repo, error) { function newFSRepo (line 225) | func newFSRepo(rpath string, userConfigFilePath string) (*FSRepo, error) { function checkInitialized (line 240) | func checkInitialized(path string) error { function configIsInitialized (line 253) | func configIsInitialized(path string) bool { function initConfig (line 264) | func initConfig(path string, conf *config.Config) error { function initSpec (line 282) | func initSpec(path string, conf map[string]any) error { function Init (line 303) | func Init(repoPath string, conf *config.Config) error { function LockedByOtherProcess (line 330) | func LockedByOtherProcess(repoPath string) (bool, error) { function APIAddr (line 343) | func APIAddr(repoPath string) (ma.Multiaddr, error) { function IsInitialized (line 778) | func IsInitialized(path string) bool { function isInitializedUnsynced (line 791) | func isInitializedUnsynced(repoPath string) bool { FILE: repo/fsrepo/fsrepo_test.go function TestInitIdempotence (line 15) | func TestInitIdempotence(t *testing.T) { function Remove (line 23) | func Remove(repoPath string) error { function TestCanManageReposIndependently (line 28) | func TestCanManageReposIndependently(t *testing.T) { function TestDatastoreGetNotAllowedAfterClose (line 56) | func TestDatastoreGetNotAllowedAfterClose(t *testing.T) { function TestDatastorePersistsFromRepoToRepo (line 74) | func TestDatastorePersistsFromRepoToRepo(t *testing.T) { function TestOpenMoreThanOnceInSameProcess (line 95) | func TestOpenMoreThanOnceInSameProcess(t *testing.T) { FILE: repo/fsrepo/migrations/atomicfile/atomicfile.go type File (line 11) | type File struct method Close (line 37) | func (f *File) Close() error { method Abort (line 48) | func (f *File) Abort() error { method ReadFrom (line 62) | func (f *File) ReadFrom(r io.Reader) (int64, error) { function New (line 17) | func New(path string, mode os.FileMode) (*File, error) { FILE: repo/fsrepo/migrations/atomicfile/atomicfile_test.go function TestNew_Success (line 16) | func TestNew_Success(t *testing.T) { function TestClose_Success (line 32) | func TestClose_Success(t *testing.T) { function TestAbort_Success (line 57) | func TestAbort_Success(t *testing.T) { function TestAbort_ErrorHandling (line 76) | func TestAbort_ErrorHandling(t *testing.T) { function TestClose_CloseError (line 96) | func TestClose_CloseError(t *testing.T) { function TestReadFrom (line 116) | func TestReadFrom(t *testing.T) { function TestFilePermissions (line 131) | func TestFilePermissions(t *testing.T) { function TestMultipleAbortsSafe (line 154) | func TestMultipleAbortsSafe(t *testing.T) { function TestNoTempFilesAfterOperations (line 174) | func TestNoTempFilesAfterOperations(t *testing.T) { FILE: repo/fsrepo/migrations/common/base.go type BaseMigration (line 10) | type BaseMigration struct method Versions (line 18) | func (m *BaseMigration) Versions() string { method configBackupSuffix (line 24) | func (m *BaseMigration) configBackupSuffix() string { method Reversible (line 29) | func (m *BaseMigration) Reversible() bool { method Apply (line 34) | func (m *BaseMigration) Apply(opts Options) error { method Revert (line 71) | func (m *BaseMigration) Revert(opts Options) error { FILE: repo/fsrepo/migrations/common/config_helpers.go function GetField (line 12) | func GetField(config map[string]any, path string) (any, bool) { function SetField (line 42) | func SetField(config map[string]any, path string, value any) { function DeleteField (line 76) | func DeleteField(config map[string]any, path string) bool { function MoveField (line 105) | func MoveField(config map[string]any, from, to string) error { function RenameField (line 117) | func RenameField(config map[string]any, path, oldName, newName string) e... function SetDefault (line 144) | func SetDefault(config map[string]any, path string, value any) { function TransformField (line 151) | func TransformField(config map[string]any, path string, transformer func... function EnsureFieldIs (line 163) | func EnsureFieldIs(config map[string]any, path string, expected any) { function MergeInto (line 171) | func MergeInto(config map[string]any, destination string, sources ...str... function CopyField (line 199) | func CopyField(config map[string]any, from, to string) error { function ConvertInterfaceSlice (line 210) | func ConvertInterfaceSlice(slice []any) []string { function GetOrCreateSection (line 221) | func GetOrCreateSection(config map[string]any, path string) map[string]a... function SafeCastMap (line 236) | func SafeCastMap(value any) map[string]any { function SafeCastSlice (line 244) | func SafeCastSlice(value any) []any { function ReplaceDefaultsWithAuto (line 252) | func ReplaceDefaultsWithAuto(values map[string]any, defaults map[string]... function EnsureSliceContains (line 267) | func EnsureSliceContains(config map[string]any, path string, value strin... function ReplaceInSlice (line 294) | func ReplaceInSlice(config map[string]any, path string, oldValue, newVal... function GetMapSection (line 316) | func GetMapSection(config map[string]any, path string) (map[string]any, ... function CloneStringMap (line 331) | func CloneStringMap(m map[string]any) map[string]string { function IsEmptySlice (line 342) | func IsEmptySlice(value any) bool { FILE: repo/fsrepo/migrations/common/migration.go type Options (line 5) | type Options struct type Migration (line 11) | type Migration interface FILE: repo/fsrepo/migrations/common/testing_helpers.go type TestCase (line 15) | type TestCase struct type ConfigAssertion (line 22) | type ConfigAssertion struct function RunMigrationTest (line 28) | func RunMigrationTest(t *testing.T, migration Migration, tc TestCase) { function AssertConfigField (line 62) | func AssertConfigField(t *testing.T, config map[string]any, path string,... function GenerateTestConfig (line 114) | func GenerateTestConfig(fields map[string]any) map[string]any { function CreateTestRepo (line 129) | func CreateTestRepo(t *testing.T, version int, config map[string]any) st... function AssertMigrationSuccess (line 156) | func AssertMigrationSuccess(t *testing.T, migration Migration, fromVersi... function AssertMigrationReversible (line 199) | func AssertMigrationReversible(t *testing.T, migration Migration, fromVe... function compareConfigs (line 247) | func compareConfigs(t *testing.T, expected, actual map[string]any, path ... FILE: repo/fsrepo/migrations/common/utils.go function CheckVersion (line 16) | func CheckVersion(repoPath string, expectedVersion string) error { function WriteVersion (line 30) | func WriteVersion(repoPath string, version string) error { function Must (line 36) | func Must(err error) { function WithBackup (line 43) | func WithBackup(configPath string, backupSuffix string, fn func(in io.Re... function RevertBackup (line 94) | func RevertBackup(configPath string, backupSuffix string) error { function ReadConfig (line 99) | func ReadConfig(r io.Reader) (map[string]any, error) { function WriteConfig (line 108) | func WriteConfig(w io.Writer, config map[string]any) error { FILE: repo/fsrepo/migrations/embedded.go function init (line 25) | func init() { function RunEmbeddedMigration (line 32) | func RunEmbeddedMigration(ctx context.Context, migrationName string, ipf... function HasEmbeddedMigration (line 66) | func HasEmbeddedMigration(migrationName string) bool { function RunEmbeddedMigrations (line 107) | func RunEmbeddedMigrations(ctx context.Context, targetVer int, ipfsDir s... FILE: repo/fsrepo/migrations/embedded_test.go function TestHasEmbeddedMigration (line 11) | func TestHasEmbeddedMigration(t *testing.T) { function TestEmbeddedMigrations (line 21) | func TestEmbeddedMigrations(t *testing.T) { function TestRunEmbeddedMigration (line 32) | func TestRunEmbeddedMigration(t *testing.T) { FILE: repo/fsrepo/migrations/fetch.go function FetchBinary (line 34) | func FetchBinary(ctx context.Context, fetcher Fetcher, dist, ver, binNam... function osWithVariant (line 143) | func osWithVariant() (string, error) { function makeArchivePath (line 188) | func makeArchivePath(dist, name, ver, atype string) (string, string) { FILE: repo/fsrepo/migrations/fetch_test.go function TestGetDistPath (line 14) | func TestGetDistPath(t *testing.T) { function TestHttpFetch (line 43) | func TestHttpFetch(t *testing.T) { function TestFetchBinary (line 77) | func TestFetchBinary(t *testing.T) { function TestMultiFetcher (line 161) | func TestMultiFetcher(t *testing.T) { FILE: repo/fsrepo/migrations/fetcher.go constant CurrentIpfsDist (line 13) | CurrentIpfsDist = "/ipfs/QmRzRGJEjYDfbHHaALnHBuhzzrkXGdwcPMrgd5fgM7hqbe" constant LatestIpfsDist (line 15) | LatestIpfsDist = "/ipns/dist.ipfs.tech" constant envIpfsDistPath (line 18) | envIpfsDistPath = "IPFS_DIST_PATH" type Fetcher (line 21) | type Fetcher interface type MultiFetcher (line 30) | type MultiFetcher struct method Fetch (line 50) | func (f *MultiFetcher) Fetch(ctx context.Context, ipfsPath string) ([]... method Close (line 63) | func (f *MultiFetcher) Close() error { method Len (line 73) | func (f *MultiFetcher) Len() int { method Fetchers (line 77) | func (f *MultiFetcher) Fetchers() []Fetcher { type limitReadCloser (line 34) | type limitReadCloser struct function NewMultiFetcher (line 41) | func NewMultiFetcher(f ...Fetcher) *MultiFetcher { function NewLimitReadCloser (line 83) | func NewLimitReadCloser(rc io.ReadCloser, limit int64) io.ReadCloser { function GetDistPathEnv (line 97) | func GetDistPathEnv(distPath string) string { FILE: repo/fsrepo/migrations/fs-repo-16-to-17/main.go function main (line 35) | func main() { FILE: repo/fsrepo/migrations/fs-repo-16-to-17/migration/migration.go function NewMigration (line 40) | func NewMigration() common.Migration { function convert (line 45) | func convert(in io.ReadSeeker, out io.Writer) error { function enableAutoConf (line 81) | func enableAutoConf(confMap map[string]any) error { function migrateBootstrap (line 92) | func migrateBootstrap(confMap map[string]any) error { function processBootstrapPeers (line 116) | func processBootstrapPeers(peers []string) []string { function migrateDNSResolvers (line 140) | func migrateDNSResolvers(confMap map[string]any) error { function migrateDelegatedRouters (line 167) | func migrateDelegatedRouters(confMap map[string]any) error { function migrateDelegatedPublishers (line 206) | func migrateDelegatedPublishers(confMap map[string]any) error { FILE: repo/fsrepo/migrations/fs-repo-16-to-17/migration/migration_test.go function runMigrationOnJSON (line 17) | func runMigrationOnJSON(t *testing.T, input string) map[string]any { function assertMapKeyEquals (line 31) | func assertMapKeyEquals(t *testing.T, result map[string]any, path []stri... function assertSliceEquals (line 44) | func assertSliceEquals(t *testing.T, result map[string]any, path []strin... function buildTestConfig (line 66) | func buildTestConfig(fields map[string]any) string { function runMigrationAndGetDNSResolvers (line 76) | func runMigrationAndGetDNSResolvers(t *testing.T, input string) map[stri... function assertResolvers (line 84) | func assertResolvers(t *testing.T, resolvers map[string]any, expected ma... function TestMigration (line 95) | func TestMigration(t *testing.T) { function TestConvert (line 200) | func TestConvert(t *testing.T) { function TestBootstrapMigration (line 226) | func TestBootstrapMigration(t *testing.T) { function TestDNSMigration (line 312) | func TestDNSMigration(t *testing.T) { function TestRoutingMigration (line 385) | func TestRoutingMigration(t *testing.T) { function TestIpnsMigration (line 415) | func TestIpnsMigration(t *testing.T) { function TestAutoConfMigration (line 458) | func TestAutoConfMigration(t *testing.T) { FILE: repo/fsrepo/migrations/fs-repo-17-to-18/main.go function main (line 32) | func main() { FILE: repo/fsrepo/migrations/fs-repo-17-to-18/migration/migration.go function NewMigration (line 24) | func NewMigration() common.Migration { function convert (line 29) | func convert(in io.ReadSeeker, out io.Writer) error { FILE: repo/fsrepo/migrations/fs-repo-17-to-18/migration/migration_test.go function TestMigration17to18 (line 9) | func TestMigration17to18(t *testing.T) { function TestMigration17to18Reversible (line 142) | func TestMigration17to18Reversible(t *testing.T) { function TestMigration17to18Integration (line 165) | func TestMigration17to18Integration(t *testing.T) { FILE: repo/fsrepo/migrations/httpfetcher.go constant defaultGatewayURL (line 33) | defaultGatewayURL = "https://trustless-gateway.link" constant defaultFetchLimit (line 35) | defaultFetchLimit = 1024 * 1024 * 512 type HttpFetcher (line 39) | type HttpFetcher struct method Fetch (line 83) | func (f *HttpFetcher) Fetch(ctx context.Context, filePath string) ([]b... method Close (line 97) | func (f *HttpFetcher) Close() error { method resolvePath (line 101) | func (f *HttpFetcher) resolvePath(ctx context.Context, pathStr string)... method resolveIPNS (line 125) | func (f *HttpFetcher) resolveIPNS(ctx context.Context, name ipns.Name)... method resolveDNSLink (line 150) | func (f *HttpFetcher) resolveDNSLink(ctx context.Context, p path.Path)... method httpRequest (line 159) | func (f *HttpFetcher) httpRequest(ctx context.Context, p path.Path, ac... function NewHttpFetcher (line 53) | func NewHttpFetcher(distPath, gateway, userAgent string, fetchLimit int6... function carStreamToFileBytes (line 196) | func carStreamToFileBytes(ctx context.Context, r io.ReadCloser, imPath p... FILE: repo/fsrepo/migrations/ipfsdir.go constant versionFile (line 16) | versionFile = "version" function IpfsDir (line 23) | func IpfsDir(dir string) (string, error) { function CheckIpfsDir (line 39) | func CheckIpfsDir(dir string) (string, error) { function RepoVersion (line 56) | func RepoVersion(ipfsDir string) (int, error) { function WriteRepoVersion (line 66) | func WriteRepoVersion(ipfsDir string, version int) error { function repoVersion (line 76) | func repoVersion(ipfsDir string) (int, error) { FILE: repo/fsrepo/migrations/ipfsdir_test.go function TestRepoDir (line 11) | func TestRepoDir(t *testing.T) { function testIpfsDir (line 30) | func testIpfsDir(t *testing.T, fakeIpfs string) { function testCheckIpfsDir (line 87) | func testCheckIpfsDir(t *testing.T, fakeIpfs string) { function testRepoVersion (line 107) | func testRepoVersion(t *testing.T, fakeIpfs string) { FILE: repo/fsrepo/migrations/ipfsfetcher/ipfsfetcher.go constant defaultFetchLimit (line 29) | defaultFetchLimit = 1024 * 1024 * 512 constant tempNodeTCPAddr (line 31) | tempNodeTCPAddr = "/ip4/127.0.0.1/tcp/0" type IpfsFetcher (line 34) | type IpfsFetcher struct method Fetch (line 92) | func (f *IpfsFetcher) Fetch(ctx context.Context, filePath string) ([]b... method Close (line 139) | func (f *IpfsFetcher) Close() error { method AddrInfo (line 154) | func (f *IpfsFetcher) AddrInfo() peer.AddrInfo { method FetchedPaths (line 159) | func (f *IpfsFetcher) FetchedPaths() []path.Path { method recordFetched (line 165) | func (f *IpfsFetcher) recordFetched(fetchedPath path.Path) { method startTempNode (line 216) | func (f *IpfsFetcher) startTempNode(ctx context.Context) error { function NewIpfsFetcher (line 65) | func NewIpfsFetcher(distPath string, fetchLimit int64, repoRoot *string,... function initTempNode (line 172) | func initTempNode(ctx context.Context, bootstrap []string, peers []peer.... function parsePath (line 270) | func parsePath(fetchPath string) (path.Path, error) { function readIpfsConfig (line 288) | func readIpfsConfig(repoRoot *string, userConfigFile string) (bootstrap ... FILE: repo/fsrepo/migrations/ipfsfetcher/ipfsfetcher_test.go function init (line 15) | func init() { function TestIpfsFetcher (line 22) | func TestIpfsFetcher(t *testing.T) { function TestInitIpfsFetcher (line 58) | func TestInitIpfsFetcher(t *testing.T) { function TestReadIpfsConfig (line 108) | func TestReadIpfsConfig(t *testing.T) { function TestBadBootstrappingIpfsConfig (line 167) | func TestBadBootstrappingIpfsConfig(t *testing.T) { function TestBadPeersIpfsConfig (line 201) | func TestBadPeersIpfsConfig(t *testing.T) { function makeConfig (line 230) | func makeConfig(t *testing.T, configData string) string { function skipUnlessEpic (line 246) | func skipUnlessEpic(t *testing.T) { function setupPlugins (line 252) | func setupPlugins() error { FILE: repo/fsrepo/migrations/migrations.go constant distMigsRoot (line 22) | distMigsRoot = "" constant distFSRM (line 23) | distFSRM = "fs-repo-migrations" function RunMigration (line 32) | func RunMigration(ctx context.Context, fetcher Fetcher, targetVer int, i... function NeedMigration (line 102) | func NeedMigration(target int) (bool, error) { function ExeName (line 111) | func ExeName(name string) string { function ReadMigrationConfig (line 124) | func ReadMigrationConfig(repoRoot string, userConfigFile string) (*confi... function GetMigrationFetcher (line 165) | func GetMigrationFetcher(downloadSources []string, distPath string, newI... function migrationName (line 206) | func migrationName(from, to int) string { function findMigrations (line 216) | func findMigrations(ctx context.Context, from, to int) ([]string, map[st... function runMigration (line 247) | func runMigration(ctx context.Context, binPath, ipfsDir string, revert b... function fetchMigrations (line 267) | func fetchMigrations(ctx context.Context, fetcher Fetcher, needed []stri... function RunHybridMigrations (line 336) | func RunHybridMigrations(ctx context.Context, targetVer int, ipfsDir str... function runMigrationsFromPath (line 521) | func runMigrationsFromPath(ctx context.Context, migrations []string, bin... FILE: repo/fsrepo/migrations/migrations_test.go function TestFindMigrations (line 15) | func TestFindMigrations(t *testing.T) { function TestFindMigrationsReverse (line 59) | func TestFindMigrationsReverse(t *testing.T) { function TestFetchMigrations (line 103) | func TestFetchMigrations(t *testing.T) { function TestRunMigrations (line 139) | func TestRunMigrations(t *testing.T) { function createFakeBin (line 173) | func createFakeBin(from, to int, tmpDir string) { function TestReadMigrationConfigDefaults (line 207) | func TestReadMigrationConfigDefaults(t *testing.T) { function TestReadMigrationConfigErrors (line 229) | func TestReadMigrationConfigErrors(t *testing.T) { function TestReadMigrationConfig (line 253) | func TestReadMigrationConfig(t *testing.T) { type mockIpfsFetcher (line 276) | type mockIpfsFetcher struct method Fetch (line 280) | func (m *mockIpfsFetcher) Fetch(ctx context.Context, filePath string) ... method Close (line 284) | func (m *mockIpfsFetcher) Close() error { function TestGetMigrationFetcher (line 288) | func TestGetMigrationFetcher(t *testing.T) { function makeConfig (line 368) | func makeConfig(t *testing.T, configData string) string { FILE: repo/fsrepo/migrations/retryfetcher.go type RetryFetcher (line 8) | type RetryFetcher struct method Fetch (line 15) | func (r *RetryFetcher) Fetch(ctx context.Context, filePath string) ([]... method Close (line 31) | func (r *RetryFetcher) Close() error { FILE: repo/fsrepo/migrations/setup_test.go function TestMain (line 34) | func TestMain(m *testing.M) { function makeTestData (line 51) | func makeTestData(t testing.TB) string { function createFakeArchive (line 81) | func createFakeArchive(archName, name string, archZip bool) { function makeTestCar (line 108) | func makeTestCar(testData string) string { function setupTestGateway (line 187) | func setupTestGateway(testCar string) io.Closer { function newBlockServiceFromCAR (line 212) | func newBlockServiceFromCAR(filepath string) (blockservice.BlockService,... FILE: repo/fsrepo/migrations/unpack.go function unpackArchive (line 13) | func unpackArchive(arcPath, atype, root, name, out string) error { function unpackTgz (line 29) | func unpackTgz(arcPath, root, name, out string) error { function unpackZip (line 68) | func unpackZip(arcPath, root, name, out string) error { function writeToPath (line 96) | func writeToPath(rc io.Reader, out string) error { FILE: repo/fsrepo/migrations/unpack_test.go function TestUnpackArchive (line 16) | func TestUnpackArchive(t *testing.T) { function TestUnpackTgz (line 34) | func TestUnpackTgz(t *testing.T) { function TestUnpackZip (line 77) | func TestUnpackZip(t *testing.T) { function writeTarGzipFile (line 120) | func writeTarGzipFile(archName, root, fileName, data string) error { function writeTarGzip (line 143) | func writeTarGzip(root, fileName, data string, w io.Writer) error { function writeZipFile (line 178) | func writeZipFile(archName, root, fileName, data string) error { function writeZip (line 201) | func writeZip(root, fileName, data string, w io.Writer) error { FILE: repo/fsrepo/migrations/versions.go constant distVersions (line 16) | distVersions = "versions" function LatestDistVersion (line 20) | func LatestDistVersion(ctx context.Context, fetcher Fetcher, dist string... function DistVersions (line 42) | func DistVersions(ctx context.Context, fetcher Fetcher, dist string, sor... FILE: repo/fsrepo/migrations/versions_test.go constant testDist (line 9) | testDist = "go-ipfs" function TestDistVersions (line 11) | func TestDistVersions(t *testing.T) { function TestLatestDistVersion (line 27) | func TestLatestDistVersion(t *testing.T) { FILE: repo/fsrepo/misc.go function BestKnownPath (line 13) | func BestKnownPath() (string, error) { FILE: repo/mock.go type Mock (line 19) | type Mock struct method Config (line 26) | func (m *Mock) Config() (*config.Config, error) { method Path (line 30) | func (m *Mock) Path() string { method UserResourceOverrides (line 34) | func (m *Mock) UserResourceOverrides() (rcmgr.PartialLimitConfig, erro... method SetConfig (line 38) | func (m *Mock) SetConfig(updated *config.Config) error { method BackupConfig (line 43) | func (m *Mock) BackupConfig(prefix string) (string, error) { method SetConfigKey (line 47) | func (m *Mock) SetConfigKey(key string, value any) error { method GetConfigKey (line 51) | func (m *Mock) GetConfigKey(key string) (any, error) { method Datastore (line 55) | func (m *Mock) Datastore() Datastore { return m.D } method GetStorageUsage (line 57) | func (m *Mock) GetStorageUsage(_ context.Context) (uint64, error) { re... method Close (line 59) | func (m *Mock) Close() error { return m.D.Close() } method SetAPIAddr (line 61) | func (m *Mock) SetAPIAddr(addr ma.Multiaddr) error { return errTODO } method SetGatewayAddr (line 63) | func (m *Mock) SetGatewayAddr(addr net.Addr) error { return errTODO } method Keystore (line 65) | func (m *Mock) Keystore() keystore.Keystore { return m.K } method SwarmKey (line 67) | func (m *Mock) SwarmKey() ([]byte, error) { method FileManager (line 71) | func (m *Mock) FileManager() *filestore.FileManager { return m.F } FILE: repo/onlyone.go type OnlyOne (line 9) | type OnlyOne struct method Open (line 26) | func (o *OnlyOne) Open(key any, open func() (Repo, error)) (Repo, erro... type ref (line 50) | type ref struct method Close (line 59) | func (r *ref) Close() error { FILE: repo/repo.go type Repo (line 21) | type Repo interface type Datastore (line 72) | type Datastore interface FILE: routing/composer.go type Composer (line 19) | type Composer struct method Provide (line 27) | func (c *Composer) Provide(ctx context.Context, cid cid.Cid, provide b... method ProvideMany (line 37) | func (c *Composer) ProvideMany(ctx context.Context, keys []multihash.M... method Ready (line 53) | func (c *Composer) Ready() bool { method FindProvidersAsync (line 67) | func (c *Composer) FindProvidersAsync(ctx context.Context, cid cid.Cid... method FindPeer (line 72) | func (c *Composer) FindPeer(ctx context.Context, pid peer.ID) (peer.Ad... method PutValue (line 81) | func (c *Composer) PutValue(ctx context.Context, key string, val []byt... method GetValue (line 91) | func (c *Composer) GetValue(ctx context.Context, key string, opts ...r... method SearchValue (line 101) | func (c *Composer) SearchValue(ctx context.Context, key string, opts .... method Bootstrap (line 119) | func (c *Composer) Bootstrap(ctx context.Context) error { FILE: routing/delegated.go function Parse (line 41) | func Parse(routers config.Routers, methods config.Methods, extraDHT *Ext... function parse (line 75) | func parse(visited map[string]bool, type ExtraHTTPParams (line 161) | type ExtraHTTPParams struct function ConstructHTTPRouter (line 168) | func ConstructHTTPRouter(endpoint string, peerID string, addrFunc func()... function httpRoutingFromConfig (line 185) | func httpRoutingFromConfig(conf config.Router, extraHTTP *ExtraHTTPParam... function decodePrivKey (line 279) | func decodePrivKey(keyB64 string) (ic.PrivKey, error) { type ExtraDHTParams (line 288) | type ExtraDHTParams struct function dhtRoutingFromConfig (line 296) | func dhtRoutingFromConfig(conf config.Router, extra *ExtraDHTParams) (ro... function createDHT (line 321) | func createDHT(params *ExtraDHTParams, public bool, mode dht.ModeOpt) (r... function createFullRT (line 346) | func createFullRT(params *ExtraDHTParams) (routing.Routing, error) { FILE: routing/delegated_test.go function TestParser (line 14) | func TestParser(t *testing.T) { function TestParserRecursive (line 71) | func TestParserRecursive(t *testing.T) { function TestParserRecursiveLoop (line 159) | func TestParserRecursiveLoop(t *testing.T) { function generatePeerID (line 208) | func generatePeerID() (string, string, error) { FILE: routing/error.go type ParamNeededError (line 9) | type ParamNeededError struct method Error (line 21) | func (e *ParamNeededError) Error() string { function NewParamNeededErr (line 14) | func NewParamNeededErr(param string, routing config.RouterType) error { FILE: routing/wrapper.go type ProvideManyRouter (line 10) | type ProvideManyRouter interface type httpRoutingWrapper (line 22) | type httpRoutingWrapper struct method Bootstrap (line 29) | func (c *httpRoutingWrapper) Bootstrap(ctx context.Context) error { FILE: test/api-startup/main.go function main (line 11) | func main() { FILE: test/bench/bench_cli_ipfs_add/main.go function main (line 24) | func main() { function compareResults (line 31) | func compareResults() error { function benchmarkAdd (line 43) | func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) { FILE: test/bench/offline_add/main.go function main (line 18) | func main() { function compareResults (line 24) | func compareResults() error { function benchmarkAdd (line 36) | func benchmarkAdd(amount int64) (*testing.BenchmarkResult, error) { FILE: test/cli/add_test.go function waitForLogMessage (line 20) | func waitForLogMessage(buffer *harness.Buffer, message string, timeout t... function TestAdd (line 31) | func TestAdd(t *testing.T) { function TestAddFastProvide (line 425) | func TestAddFastProvide(t *testing.T) { function createDirectoryForHAMTLinksEstimation (line 607) | func createDirectoryForHAMTLinksEstimation(dirPath string, numFiles, nam... function createDirectoryForHAMTBlockEstimation (line 617) | func createDirectoryForHAMTBlockEstimation(dirPath string, numFiles, nam... function createDeterministicFiles (line 624) | func createDeterministicFiles(dirPath string, numFiles, nameLen, lastNam... FILE: test/cli/agent_version_unicode_test.go function TestCleanAndTrimUnicode (line 11) | func TestCleanAndTrimUnicode(t *testing.T) { function TestCleanAndTrimIdempotent (line 157) | func TestCleanAndTrimIdempotent(t *testing.T) { function TestCleanAndTrimSecurity (line 174) | func TestCleanAndTrimSecurity(t *testing.T) { FILE: test/cli/api_file_test.go function TestAddressFileReady (line 20) | func TestAddressFileReady(t *testing.T) { FILE: test/cli/autoconf/autoconf_test.go function TestAutoConf (line 19) | func TestAutoConf(t *testing.T) { function testAutoConfBasicFunctionality (line 83) | func testAutoConfBasicFunctionality(t *testing.T) { function testAutoConfBackgroundService (line 135) | func testAutoConfBackgroundService(t *testing.T) { function testAutoConfHTTPErrors (line 201) | func testAutoConfHTTPErrors(t *testing.T) { function testAutoConfCacheBasedExpansion (line 239) | func testAutoConfCacheBasedExpansion(t *testing.T) { function testAutoConfDisabled (line 324) | func testAutoConfDisabled(t *testing.T) { function loadTestData (line 344) | func loadTestData(t *testing.T, filename string) []byte { function testBootstrapListResolved (line 353) | func testBootstrapListResolved(t *testing.T) { function testDaemonUsesResolvedBootstrap (line 419) | func testDaemonUsesResolvedBootstrap(t *testing.T) { function testEmptyCacheUsesFallbacks (line 518) | func testEmptyCacheUsesFallbacks(t *testing.T) { function testStaleCacheWithUnreachableServer (line 554) | func testStaleCacheWithUnreachableServer(t *testing.T) { function testAutoConfDisabledWithAutoValues (line 598) | func testAutoConfDisabledWithAutoValues(t *testing.T) { function testAutoConfNetworkBehavior (line 623) | func testAutoConfNetworkBehavior(t *testing.T) { function testAutoConfWithHTTPS (line 730) | func testAutoConfWithHTTPS(t *testing.T) { FILE: test/cli/autoconf/dns_test.go function TestAutoConfDNS (line 19) | func TestAutoConfDNS(t *testing.T) { type mockDoHServer (line 34) | type mockDoHServer struct method handleDNSQuery (line 77) | func (m *mockDoHServer) handleDNSQuery(w http.ResponseWriter, r *http.... method getRequests (line 139) | func (m *mockDoHServer) getRequests() []string { method close (line 145) | func (m *mockDoHServer) close() { function newMockDoHServer (line 42) | func newMockDoHServer(t *testing.T) *mockDoHServer { function testDNSResolutionWithAutoDoH (line 149) | func testDNSResolutionWithAutoDoH(t *testing.T) { function testDNSErrorHandling (line 220) | func testDNSErrorHandling(t *testing.T) { FILE: test/cli/autoconf/expand_comprehensive_test.go function TestExpandAutoComprehensive (line 30) | func TestExpandAutoComprehensive(t *testing.T) { function testAllAutoConfFieldsResolve (line 73) | func testAllAutoConfFieldsResolve(t *testing.T) { function testBootstrapCommandConsistency (line 279) | func testBootstrapCommandConsistency(t *testing.T) { function testWriteOperationsFailWithExpandAuto (line 353) | func testWriteOperationsFailWithExpandAuto(t *testing.T) { function testConfigShowExpandAutoComplete (line 394) | func testConfigShowExpandAutoComplete(t *testing.T) { function testMultipleExpandAutoUsesCache (line 464) | func testMultipleExpandAutoUsesCache(t *testing.T) { function testCLIUsesCacheOnlyDaemonUpdatesBackground (line 597) | func testCLIUsesCacheOnlyDaemonUpdatesBackground(t *testing.T) { function loadTestDataComprehensive (line 660) | func loadTestDataComprehensive(t *testing.T, filename string) []byte { function startDaemonAndWaitForAutoConf (line 672) | func startDaemonAndWaitForAutoConf(t *testing.T, node *harness.Node, req... FILE: test/cli/autoconf/expand_fallback_test.go function TestExpandAutoFallbacks (line 18) | func TestExpandAutoFallbacks(t *testing.T) { function testExpandAutoWithUnreachableServer (line 47) | func testExpandAutoWithUnreachableServer(t *testing.T) { function testExpandAutoWithDisabledAutoConf (line 98) | func testExpandAutoWithDisabledAutoConf(t *testing.T) { function testExpandAutoWithMalformedResponse (line 119) | func testExpandAutoWithMalformedResponse(t *testing.T) { function testExpandAutoMixedConfigPreservesStatic (line 147) | func testExpandAutoMixedConfigPreservesStatic(t *testing.T) { function testDaemonWithMalformedAutoConf (line 196) | func testDaemonWithMalformedAutoConf(t *testing.T) { function loadTestDataForFallback (line 277) | func loadTestDataForFallback(t *testing.T, filename string) []byte { FILE: test/cli/autoconf/expand_test.go function TestAutoConfExpand (line 16) | func TestAutoConfExpand(t *testing.T) { function testConfigCommandsShowAutoValues (line 65) | func testConfigCommandsShowAutoValues(t *testing.T) { function testMixedConfigurationPreserved (line 209) | func testMixedConfigurationPreserved(t *testing.T) { function testConfigReplacePreservesAuto (line 268) | func testConfigReplacePreservesAuto(t *testing.T) { function testExpandAutoFiltersUnsupportedPathsDelegated (line 327) | func testExpandAutoFiltersUnsupportedPathsDelegated(t *testing.T) { function testExpandAutoWithoutCacheDelegated (line 411) | func testExpandAutoWithoutCacheDelegated(t *testing.T) { function testExpandAutoWithAutoRouting (line 470) | func testExpandAutoWithAutoRouting(t *testing.T) { function testExpandAutoWithMixedSystems (line 534) | func testExpandAutoWithMixedSystems(t *testing.T) { function testExpandAutoWithFiltering (line 596) | func testExpandAutoWithFiltering(t *testing.T) { function testExpandAutoWithoutCacheAuto (line 670) | func testExpandAutoWithoutCacheAuto(t *testing.T) { function loadTestDataExpand (line 725) | func loadTestDataExpand(t *testing.T, filename string) []byte { FILE: test/cli/autoconf/extensibility_test.go function TestAutoConfExtensibility_NewSystem (line 30) | func TestAutoConfExtensibility_NewSystem(t *testing.T) { FILE: test/cli/autoconf/fuzz_test.go function testAutoConfWithFallback (line 19) | func testAutoConfWithFallback(t *testing.T, serverURL string, expectErro... function testAutoConfWithFallbackAndTimeout (line 24) | func testAutoConfWithFallbackAndTimeout(t *testing.T, serverURL string, ... function TestAutoConfFuzz (line 58) | func TestAutoConfFuzz(t *testing.T) { function testFuzzAutoConfVersion (line 70) | func testFuzzAutoConfVersion(t *testing.T) { function testFuzzBootstrapArrays (line 120) | func testFuzzBootstrapArrays(t *testing.T) { function testFuzzDNSResolvers (line 247) | func testFuzzDNSResolvers(t *testing.T) { function testFuzzDelegatedRouters (line 365) | func testFuzzDelegatedRouters(t *testing.T) { function testFuzzDelegatedPublishers (line 468) | func testFuzzDelegatedPublishers(t *testing.T) { function testFuzzMalformedJSON (line 565) | func testFuzzMalformedJSON(t *testing.T) { function testFuzzLargePayloads (line 593) | func testFuzzLargePayloads(t *testing.T) { function generateManyResolvers (line 645) | func generateManyResolvers(count int) map[string][]string { FILE: test/cli/autoconf/ipns_test.go function TestAutoConfIPNS (line 22) | func TestAutoConfIPNS(t *testing.T) { function testIPNSPublishingWithWorkingEndpoint (line 39) | func testIPNSPublishingWithWorkingEndpoint(t *testing.T) { function testIPNSPublishingResilience (line 122) | func testIPNSPublishingResilience(t *testing.T) { function setupNodeWithAutoconf (line 183) | func setupNodeWithAutoconf(t *testing.T, publisherURL string, routingTyp... function createAutoconfJSON (line 218) | func createAutoconfJSON(publisherURL string) string { type mockIPNSPublisher (line 250) | type mockIPNSPublisher struct method handleIPNS (line 278) | func (m *mockIPNSPublisher) handleIPNS(w http.ResponseWriter, r *http.... method getPublishedKeys (line 330) | func (m *mockIPNSPublisher) getPublishedKeys() map[string]string { method getRecordPayload (line 338) | func (m *mockIPNSPublisher) getRecordPayload(peerID string) []byte { method close (line 349) | func (m *mockIPNSPublisher) close() { function newMockIPNSPublisher (line 259) | func newMockIPNSPublisher(t *testing.T) *mockIPNSPublisher { FILE: test/cli/autoconf/routing_test.go function TestAutoConfDelegatedRouting (line 17) | func TestAutoConfDelegatedRouting(t *testing.T) { type mockRoutingServer (line 32) | type mockRoutingServer struct method handleProviders (line 71) | func (m *mockRoutingServer) handleProviders(w http.ResponseWriter, r *... method close (line 101) | func (m *mockRoutingServer) close() { function newMockRoutingServer (line 40) | func newMockRoutingServer(t *testing.T) *mockRoutingServer { function testDelegatedRoutingWithAuto (line 105) | func testDelegatedRoutingWithAuto(t *testing.T) { function testRoutingErrorHandling (line 172) | func testRoutingErrorHandling(t *testing.T) { FILE: test/cli/autoconf/swarm_connect_test.go function TestSwarmConnectWithAutoConf (line 20) | func TestSwarmConnectWithAutoConf(t *testing.T) { function testSwarmConnectWithAutoConfSetting (line 32) | func testSwarmConnectWithAutoConfSetting(t *testing.T, autoConfEnabled b... FILE: test/cli/autoconf/validation_test.go function TestAutoConfValidation (line 12) | func TestAutoConfValidation(t *testing.T) { function testInvalidAutoConfJSONPreventsCaching (line 31) | func testInvalidAutoConfJSONPreventsCaching(t *testing.T) { function testMalformedMultiaddrInAutoConf (line 76) | func testMalformedMultiaddrInAutoConf(t *testing.T) { function testMalformedURLInAutoConf (line 114) | func testMalformedURLInAutoConf(t *testing.T) { FILE: test/cli/backup_bootstrap_test.go function TestBackupBootstrapPeers (line 13) | func TestBackupBootstrapPeers(t *testing.T) { FILE: test/cli/basic_commands_test.go function parseVersionOutput (line 18) | func parseVersionOutput(s string) semver.Version { function TestCurDirIsWritable (line 27) | func TestCurDirIsWritable(t *testing.T) { function TestIPFSVersionCommandMatchesFlag (line 33) | func TestIPFSVersionCommandMatchesFlag(t *testing.T) { function TestIPFSVersionAll (line 47) | func TestIPFSVersionAll(t *testing.T) { function TestIPFSVersionDeps (line 58) | func TestIPFSVersionDeps(t *testing.T) { function TestIPFSCommands (line 82) | func TestIPFSCommands(t *testing.T) { function TestAllSubcommandsAcceptHelp (line 91) | func TestAllSubcommandsAcceptHelp(t *testing.T) { function TestAllRootCommandsAreMentionedInHelpText (line 104) | func TestAllRootCommandsAreMentionedInHelpText(t *testing.T) { function TestCommandDocsWidth (line 133) | func TestCommandDocsWidth(t *testing.T) { function TestAllCommandsFailWhenPassedBadFlag (line 209) | func TestAllCommandsFailWhenPassedBadFlag(t *testing.T) { function TestCommandsFlags (line 222) | func TestCommandsFlags(t *testing.T) { FILE: test/cli/bitswap_config_test.go function TestBitswapConfig (line 15) | func TestBitswapConfig(t *testing.T) { FILE: test/cli/block_size_test.go constant twoMiB (line 20) | twoMiB = 2 * 1024 * 1024 constant twoMiBPlus (line 21) | twoMiBPlus = twoMiB + 1 constant maxChunkSize (line 22) | maxChunkSize = twoMiB - 256 constant overMaxChunk (line 23) | overMaxChunk = maxChunkSize + 1 constant libp2pMsgMax (line 39) | libp2pMsgMax = 4 * 1024 * 1024 constant bsBlockEnvelope (line 40) | bsBlockEnvelope = 18 constant maxTransferBlock (line 41) | maxTransferBlock = libp2pMsgMax - bsBlockEnvelope constant overMaxTransfer (line 42) | overMaxTransfer = maxTransferBlock + 1 function blockSize (line 47) | func blockSize(t *testing.T, node *harness.Node, cid string) int { function allBlockCIDs (line 59) | func allBlockCIDs(t *testing.T, node *harness.Node, root string) []string { function assertAllBlocksWithinLimit (line 73) | func assertAllBlocksWithinLimit(t *testing.T, node *harness.Node, root s... function TestBlockSizeBoundary (line 81) | func TestBlockSizeBoundary(t *testing.T) { FILE: test/cli/bootstrap_auto_test.go function TestBootstrapCommandsWithAutoPlaceholder (line 11) | func TestBootstrapCommandsWithAutoPlaceholder(t *testing.T) { FILE: test/cli/cid_profiles_test.go type cidProfileExpectations (line 25) | type cidProfileExpectations struct constant cidV0Length (line 165) | cidV0Length = 34 constant cidV1Length (line 166) | cidV1Length = 36 function TestCIDProfiles (line 172) | func TestCIDProfiles(t *testing.T) { function runProfileTests (line 209) | func runProfileTests(t *testing.T, exp cidProfileExpectations, carOutput... function verifyCIDVersion (line 527) | func verifyCIDVersion(t *testing.T, _ *harness.Node, cidStr string, expe... function verifyHashFunction (line 539) | func verifyHashFunction(t *testing.T, node *harness.Node, cidStr, expect... function verifyRawLeaves (line 552) | func verifyRawLeaves(t *testing.T, node *harness.Node, cidStr string, ex... function getBlockSize (line 569) | func getBlockSize(t *testing.T, node *harness.Node, cidStr string) int { function fileAtMaxLinksBytes (line 580) | func fileAtMaxLinksBytes(exp cidProfileExpectations) int64 { function fileOverMaxLinksBytes (line 585) | func fileOverMaxLinksBytes(exp cidProfileExpectations) int64 { function seedForProfile (line 590) | func seedForProfile(exp cidProfileExpectations) string { function chunkSeedForProfile (line 602) | func chunkSeedForProfile(exp cidProfileExpectations) string { function hamtSeedForProfile (line 615) | func hamtSeedForProfile(exp cidProfileExpectations) string { function TestDefaultMatchesExpectedProfile (line 628) | func TestDefaultMatchesExpectedProfile(t *testing.T) { function TestProtobufHelpers (line 650) | func TestProtobufHelpers(t *testing.T) { FILE: test/cli/cid_test.go function TestCidCommands (line 17) | func TestCidCommands(t *testing.T) { function testCidInspect (line 29) | func testCidInspect(t *testing.T) { function testCidBase32 (line 190) | func testCidBase32(t *testing.T) { function testCidFormat (line 259) | func testCidFormat(t *testing.T) { function testCidBases (line 336) | func testCidBases(t *testing.T) { function testCidCodecs (line 476) | func testCidCodecs(t *testing.T) { function testCidHashes (line 642) | func testCidHashes(t *testing.T) { function assertExactSet (line 728) | func assertExactSet(t *testing.T, itemType string, expected []string, ac... FILE: test/cli/cli_https_test.go function TestCLIWithRemoteHTTPS (line 15) | func TestCLIWithRemoteHTTPS(t *testing.T) { FILE: test/cli/commands_without_repo_test.go function TestCommandsWithoutRepo (line 10) | func TestCommandsWithoutRepo(t *testing.T) { FILE: test/cli/completion_test.go function TestBashCompletion (line 12) | func TestBashCompletion(t *testing.T) { function TestZshCompletion (line 33) | func TestZshCompletion(t *testing.T) { FILE: test/cli/config_secrets_test.go function TestConfigSecrets (line 12) | func TestConfigSecrets(t *testing.T) { FILE: test/cli/content_blocking_test.go function TestContentBlocking (line 25) | func TestContentBlocking(t *testing.T) { FILE: test/cli/content_routing_http_test.go type userAgentRecorder (line 19) | type userAgentRecorder struct method ServeHTTP (line 24) | func (r *userAgentRecorder) ServeHTTP(w http.ResponseWriter, req *http... function TestContentRoutingHTTP (line 29) | func TestContentRoutingHTTP(t *testing.T) { FILE: test/cli/daemon_test.go function TestDaemon (line 20) | func TestDaemon(t *testing.T) { type infiniteReader (line 150) | type infiniteReader struct method Read (line 152) | func (r *infiniteReader) Read(p []byte) (n int, err error) { FILE: test/cli/dag_layout_test.go function TestBalancedDAGLayout (line 33) | func TestBalancedDAGLayout(t *testing.T) { function collectLeafDepths (line 117) | func collectLeafDepths(t *testing.T, node *harness.Node, cid string, dep... FILE: test/cli/dag_test.go constant fixtureFile (line 18) | fixtureFile = "./fixtures/TestDagStat.car" constant textOutputPath (line 19) | textOutputPath = "./fixtures/TestDagStatExpectedOutput.txt" constant node1Cid (line 20) | node1Cid = "bafyreibmdfd7c5db4kls4ty57zljfhqv36gi43l6txl44pi423wwm... constant node2Cid (line 21) | node2Cid = "bafyreie3njilzdi4ixumru4nzgecsnjtu7fzfcwhg7e6s4s5i7cnb... constant fixtureCid (line 22) | fixtureCid = "bafyreifrm6uf5o4dsaacuszf35zhibyojlqclabzrms7iak67pf62... type DagStat (line 25) | type DagStat struct type Data (line 31) | type Data struct function TestDag (line 44) | func TestDag(t *testing.T) { function TestDagImportFastProvide (line 112) | func TestDagImportFastProvide(t *testing.T) { FILE: test/cli/delegated_routing_v1_http_client_test.go function TestHTTPDelegatedRouting (line 20) | func TestHTTPDelegatedRouting(t *testing.T) { function TestHTTPDelegatedRoutingProviderAddrs (line 177) | func TestHTTPDelegatedRoutingProviderAddrs(t *testing.T) { FILE: test/cli/delegated_routing_v1_http_proxy_test.go function TestRoutingV1Proxy (line 14) | func TestRoutingV1Proxy(t *testing.T) { FILE: test/cli/delegated_routing_v1_http_server_test.go function TestRoutingV1Server (line 23) | func TestRoutingV1Server(t *testing.T) { FILE: test/cli/dht_autoclient_test.go function TestDHTAutoclient (line 12) | func TestDHTAutoclient(t *testing.T) { FILE: test/cli/dht_opt_prov_test.go function TestDHTOptimisticProvide (line 12) | func TestDHTOptimisticProvide(t *testing.T) { FILE: test/cli/diag_datastore_test.go function TestDiagDatastore (line 14) | func TestDiagDatastore(t *testing.T) { FILE: test/cli/dns_resolvers_multiaddr_test.go constant testDomainSuffix (line 15) | testDomainSuffix = config.DefaultDomainSuffix function TestDNSResolversApplyToMultiaddr (line 23) | func TestDNSResolversApplyToMultiaddr(t *testing.T) { FILE: test/cli/files_test.go function TestFilesCp (line 18) | func TestFilesCp(t *testing.T) { function TestFilesRm (line 131) | func TestFilesRm(t *testing.T) { function TestFilesNoFlushLimit (line 194) | func TestFilesNoFlushLimit(t *testing.T) { function TestFilesChroot (line 360) | func TestFilesChroot(t *testing.T) { function TestFilesMFSImportConfig (line 468) | func TestFilesMFSImportConfig(t *testing.T) { FILE: test/cli/fuse_test.go function TestFUSE (line 16) | func TestFUSE(t *testing.T) { function doUnmount (line 152) | func doUnmount(t *testing.T, mountPoint string, failOnError bool) { FILE: test/cli/gateway_limits_test.go function TestGatewayLimits (line 18) | func TestGatewayLimits(t *testing.T) { FILE: test/cli/gateway_range_test.go function TestGatewayHAMTDirectory (line 13) | func TestGatewayHAMTDirectory(t *testing.T) { function TestGatewayHAMTRanges (line 45) | func TestGatewayHAMTRanges(t *testing.T) { FILE: test/cli/gateway_test.go function TestGateway (line 27) | func TestGateway(t *testing.T) { function TestLogs (line 552) | func TestLogs(t *testing.T) { FILE: test/cli/harness/buffer.go type Buffer (line 11) | type Buffer struct method Write (line 16) | func (b *Buffer) Write(p []byte) (n int, err error) { method String (line 22) | func (b *Buffer) String() string { method Trimmed (line 30) | func (b *Buffer) Trimmed() string { method Bytes (line 43) | func (b *Buffer) Bytes() []byte { method Lines (line 49) | func (b *Buffer) Lines() []string { FILE: test/cli/harness/harness.go type Harness (line 19) | type Harness struct method NewNode (line 85) | func (h *Harness) NewNode() *Node { method NewNodes (line 92) | func (h *Harness) NewNodes(count int) Nodes { method WriteToTemp (line 101) | func (h *Harness) WriteToTemp(contents string) string { method TempFile (line 115) | func (h *Harness) TempFile() *os.File { method WriteFile (line 125) | func (h *Harness) WriteFile(filename, contents string) { method Mkdirs (line 163) | func (h *Harness) Mkdirs(paths ...string) { method Sh (line 176) | func (h *Harness) Sh(expr string) *RunResult { method Cleanup (line 183) | func (h *Harness) Cleanup() { method ExtractPeerID (line 195) | func (h *Harness) ExtractPeerID(m multiaddr.Multiaddr) peer.ID { function EnableDebugLogging (line 28) | func EnableDebugLogging() { function NewT (line 36) | func NewT(t *testing.T, options ...func(h *Harness)) *Harness { function New (line 42) | func New(options ...func(h *Harness)) *Harness { function osEnviron (line 76) | func osEnviron() map[string]string { function WaitForFile (line 140) | func WaitForFile(path string, timeout time.Duration) error { FILE: test/cli/harness/http_client.go type HTTPClient (line 16) | type HTTPClient struct method WithHeader (line 33) | func (c *HTTPClient) WithHeader(k, v string) func(h *http.Request) { method DisableRedirects (line 39) | func (c *HTTPClient) DisableRedirects() *HTTPClient { method Do (line 47) | func (c *HTTPClient) Do(req *http.Request) *HTTPResponse { method BuildURL (line 70) | func (c *HTTPClient) BuildURL(urlPath string) string { method Get (line 80) | func (c *HTTPClient) Get(urlPath string, opts ...func(*http.Request)) ... method Post (line 91) | func (c *HTTPClient) Post(urlPath string, body io.Reader, opts ...func... method PostStr (line 102) | func (c *HTTPClient) PostStr(urlpath, body string, opts ...func(*http.... method Head (line 107) | func (c *HTTPClient) Head(urlPath string, opts ...func(*http.Request))... type HTTPResponse (line 24) | type HTTPResponse struct FILE: test/cli/harness/ipfs.go method IPFSCommands (line 14) | func (n *Node) IPFSCommands() []string { method SetIPFSConfig (line 29) | func (n *Node) SetIPFSConfig(key string, val any, flags ...string) { method GetIPFSConfig (line 60) | func (n *Node) GetIPFSConfig(key string, val any) { method IPFSAddStr (line 75) | func (n *Node) IPFSAddStr(content string, args ...string) string { method IPFSAddDeterministic (line 83) | func (n *Node) IPFSAddDeterministic(size string, seed string, args ...st... method IPFSAddDeterministicBytes (line 94) | func (n *Node) IPFSAddDeterministicBytes(size int64, seed string, args .... method IPFSAdd (line 103) | func (n *Node) IPFSAdd(content io.Reader, args ...string) string { method IPFSBlockPut (line 117) | func (n *Node) IPFSBlockPut(content io.Reader, args ...string) string { method IPFSDAGPut (line 131) | func (n *Node) IPFSDAGPut(content io.Reader, args ...string) string { method IPFSDagImport (line 145) | func (n *Node) IPFSDagImport(content io.Reader, cid string, args ...stri... method IPFSDagExport (line 165) | func (n *Node) IPFSDagExport(cid string, carPath string) error { FILE: test/cli/harness/log.go type event (line 14) | type event struct type events (line 19) | type events method Len (line 21) | func (e events) Len() int { return len(e) } method Less (line 22) | func (e events) Less(i, j int) bool { return e[i].timestamp.Before(e[j... method Swap (line 23) | func (e events) Swap(i, j int) { e[i], e[j] = e[j], e[i] } type TestLogger (line 36) | type TestLogger struct method buildPrefix (line 53) | func (t *TestLogger) buildPrefix(timestamp time.Time) string { method Log (line 67) | func (t *TestLogger) Log(args ...any) { method Logf (line 73) | func (t *TestLogger) Logf(format string, args ...any) { method Fatal (line 79) | func (t *TestLogger) Fatal(args ...any) { method Fatalf (line 86) | func (t *TestLogger) Fatalf(format string, args ...any) { method add (line 93) | func (t *TestLogger) add(e *event) { method AddPrefix (line 99) | func (t *TestLogger) AddPrefix(prefix string) *TestLogger { method EnableLogs (line 116) | func (t *TestLogger) EnableLogs() { method flush (line 133) | func (t *TestLogger) flush() { function NewTestLogger (line 47) | func NewTestLogger(t *testing.T) *TestLogger { FILE: test/cli/harness/node.go type Node (line 33) | type Node struct method WriteBytes (line 104) | func (n *Node) WriteBytes(filename string, b []byte) { method ReadFile (line 117) | func (n *Node) ReadFile(filename string) string { method ConfigFile (line 129) | func (n *Node) ConfigFile() string { method ReadConfig (line 133) | func (n *Node) ReadConfig() *config.Config { method WriteConfig (line 141) | func (n *Node) WriteConfig(c *config.Config) { method UpdateConfig (line 148) | func (n *Node) UpdateConfig(f func(cfg *config.Config)) { method ReadUserResourceOverrides (line 154) | func (n *Node) ReadUserResourceOverrides() *rcmgr.PartialLimitConfig { method WriteUserSuppliedResourceOverrides (line 165) | func (n *Node) WriteUserSuppliedResourceOverrides(c *rcmgr.PartialLimi... method UpdateUserSuppliedResourceManagerOverrides (line 172) | func (n *Node) UpdateUserSuppliedResourceManagerOverrides(f func(overr... method IPFS (line 178) | func (n *Node) IPFS(args ...string) *RunResult { method PipeStrToIPFS (line 184) | func (n *Node) PipeStrToIPFS(s string, args ...string) *RunResult { method PipeToIPFS (line 188) | func (n *Node) PipeToIPFS(reader io.Reader, args ...string) *RunResult { method RunPipeToIPFS (line 194) | func (n *Node) RunPipeToIPFS(reader io.Reader, args ...string) *RunRes... method RunIPFS (line 202) | func (n *Node) RunIPFS(args ...string) *RunResult { method Init (line 210) | func (n *Node) Init(ipfsArgs ...string) *Node { method StartDaemonWithReq (line 271) | func (n *Node) StartDaemonWithReq(req RunRequest, authorization string... method StartDaemon (line 291) | func (n *Node) StartDaemon(ipfsArgs ...string) *Node { method StartDaemonWithAuthorization (line 297) | func (n *Node) StartDaemonWithAuthorization(secret string, ipfsArgs ..... method signalAndWait (line 303) | func (n *Node) signalAndWait(watch <-chan struct{}, signal os.Signal, ... method StopDaemon (line 322) | func (n *Node) StopDaemon() *Node { method APIAddr (line 362) | func (n *Node) APIAddr() multiaddr.Multiaddr { method APIURL (line 370) | func (n *Node) APIURL() string { method TryAPIAddr (line 379) | func (n *Node) TryAPIAddr() (multiaddr.Multiaddr, error) { method checkAPI (line 391) | func (n *Node) checkAPI(authorization string) bool { method PeerID (line 467) | func (n *Node) PeerID() peer.ID { method WaitOnAPI (line 476) | func (n *Node) WaitOnAPI(authorization string) *Node { method IsAlive (line 489) | func (n *Node) IsAlive() bool { method SwarmAddrs (line 503) | func (n *Node) SwarmAddrs() []multiaddr.Multiaddr { method SwarmAddrsWithTimeout (line 537) | func (n *Node) SwarmAddrsWithTimeout(timeout time.Duration) []multiadd... method SwarmAddrsWithPeerIDs (line 549) | func (n *Node) SwarmAddrsWithPeerIDs() []multiaddr.Multiaddr { method SwarmAddrsWithPeerIDsTimeout (line 553) | func (n *Node) SwarmAddrsWithPeerIDsTimeout(timeout time.Duration) []m... method SwarmAddrsWithoutPeerIDs (line 572) | func (n *Node) SwarmAddrsWithoutPeerIDs() []multiaddr.Multiaddr { method Connect (line 591) | func (n *Node) Connect(other *Node) *Node { method ConnectAndWait (line 611) | func (n *Node) ConnectAndWait(other *Node, timeout time.Duration) error { method Peers (line 646) | func (n *Node) Peers() []multiaddr.Multiaddr { method PeerWith (line 677) | func (n *Node) PeerWith(other *Node) { method Disconnect (line 695) | func (n *Node) Disconnect(other *Node) { method GatewayURL (line 700) | func (n *Node) GatewayURL() string { method GatewayClient (line 720) | func (n *Node) GatewayClient() *HTTPClient { method APIClient (line 727) | func (n *Node) APIClient() *HTTPClient { method DatastoreCount (line 736) | func (n *Node) DatastoreCount(prefix string) int64 { method DatastorePut (line 744) | func (n *Node) DatastorePut(key, value string) { method DatastoreGet (line 750) | func (n *Node) DatastoreGet(key string) []byte { method DatastoreHasKey (line 760) | func (n *Node) DatastoreHasKey(key string) bool { function BuildNode (line 48) | func BuildNode(ipfsBin, baseDir string, id int) *Node { FILE: test/cli/harness/nodes.go type Nodes (line 11) | type Nodes method Init (line 13) | func (n Nodes) Init(args ...string) Nodes { method ForEachPar (line 18) | func (n Nodes) ForEachPar(f func(*Node)) { method Connect (line 31) | func (n Nodes) Connect() Nodes { method StartDaemons (line 50) | func (n Nodes) StartDaemons(args ...string) Nodes { method StopDaemons (line 55) | func (n Nodes) StopDaemons() Nodes { FILE: test/cli/harness/pbinspect.go method UnixFSDataType (line 19) | func (n *Node) UnixFSDataType(cid string) (pb.Data_DataType, error) { method UnixFSHAMTFanout (line 49) | func (n *Node) UnixFSHAMTFanout(cid string) (uint64, error) { method InspectPBNode (line 81) | func (n *Node) InspectPBNode(cid string) (PBNode, error) { type PBHash (line 103) | type PBHash struct type PBLink (line 107) | type PBLink struct type PBData (line 113) | type PBData struct type PBNode (line 119) | type PBNode struct FILE: test/cli/harness/peering.go type Peering (line 13) | type Peering struct function NewRandPort (line 23) | func NewRandPort() int { function CreatePeerNodes (line 53) | func CreatePeerNodes(t *testing.T, n int, peerings []Peering) (*Harness,... FILE: test/cli/harness/run.go type Runner (line 12) | type Runner struct method Run (line 62) | func (r *Runner) Run(req RunRequest) *RunResult { method MustRun (line 120) | func (r *Runner) MustRun(req RunRequest) *RunResult { method AssertNoError (line 126) | func (r *Runner) AssertNoError(result *RunResult) { type CmdOpt (line 19) | type CmdOpt type RunFunc (line 20) | type RunFunc type RunRequest (line 25) | type RunRequest struct type RunResult (line 36) | type RunResult struct method ExitCode (line 44) | func (r *RunResult) ExitCode() int { function environToMap (line 48) | func environToMap(environ []string) map[string]string { function RunWithEnv (line 136) | func RunWithEnv(env map[string]string) CmdOpt { function RunWithPath (line 144) | func RunWithPath(path string) CmdOpt { function RunWithStdin (line 161) | func RunWithStdin(reader io.Reader) CmdOpt { function RunWithStdinStr (line 167) | func RunWithStdinStr(s string) CmdOpt { function RunWithStdout (line 171) | func RunWithStdout(writer io.Writer) CmdOpt { function RunWithStderr (line 177) | func RunWithStderr(writer io.Writer) CmdOpt { FILE: test/cli/http_gateway_over_libp2p_test.go function TestGatewayOverLibp2p (line 22) | func TestGatewayOverLibp2p(t *testing.T) { FILE: test/cli/http_retrieval_client_test.go function TestHTTPRetrievalClient (line 25) | func TestHTTPRetrievalClient(t *testing.T) { function NewMockHTTPProviderServer (line 102) | func NewMockHTTPProviderServer(c cid.Cid, body string, debug bool) *http... function splitHostPort (line 133) | func splitHostPort(httpUrl string) (ipAddr string, port string, err erro... FILE: test/cli/identity_cid_test.go function TestIdentityCIDOverflowProtection (line 17) | func TestIdentityCIDOverflowProtection(t *testing.T) { FILE: test/cli/init_test.go function validatePeerID (line 18) | func validatePeerID(t *testing.T, peerID peer.ID, expErr error, expAlgo ... function testInitAlgo (line 27) | func testInitAlgo(t *testing.T, initFlags []string, expOutputName string... function TestInit (line 84) | func TestInit(t *testing.T) { FILE: test/cli/ipfswatch_test.go function TestIPFSWatch (line 19) | func TestIPFSWatch(t *testing.T) { FILE: test/cli/log_level_test.go function TestLogLevel (line 21) | func TestLogLevel(t *testing.T) { function getExpectedSubsystems (line 767) | func getExpectedSubsystems(t *testing.T, node *harness.Node) []string { function parseCLIOutput (line 776) | func parseCLIOutput(t *testing.T, output string) map[string]string { function parseHTTPResponse (line 793) | func parseHTTPResponse(t *testing.T, resp *http.Response) map[string]any { function validateAllSubsystemsPresent (line 804) | func validateAllSubsystemsPresent(t *testing.T, expectedSubsystems []str... function validateAllSubsystemsPresentCLI (line 816) | func validateAllSubsystemsPresentCLI(t *testing.T, expectedSubsystems []... FILE: test/cli/ls_test.go function TestLsLongFormat (line 15) | func TestLsLongFormat(t *testing.T) { FILE: test/cli/migrations/migration_16_to_latest_test.go function TestMigration16ToLatest (line 44) | func TestMigration16ToLatest(t *testing.T) { function testDaemonMigrationWithAuto (line 75) | func testDaemonMigrationWithAuto(t *testing.T) { function testDaemonMigrationWithoutAuto (line 118) | func testDaemonMigrationWithoutAuto(t *testing.T) { type ConfigField (line 178) | type ConfigField struct type MigrationTestHelper (line 184) | type MigrationTestHelper struct method RequireFieldExists (line 198) | func (h *MigrationTestHelper) RequireFieldExists(path string) *Migrati... method RequireFieldEquals (line 204) | func (h *MigrationTestHelper) RequireFieldEquals(path string, expected... method RequireArrayContains (line 210) | func (h *MigrationTestHelper) RequireArrayContains(path string, expect... method RequireArrayLength (line 218) | func (h *MigrationTestHelper) RequireArrayLength(path string, expected... method RequireArrayDoesNotContain (line 226) | func (h *MigrationTestHelper) RequireArrayDoesNotContain(path string, ... method RequireFieldAbsent (line 234) | func (h *MigrationTestHelper) RequireFieldAbsent(path string) *Migrati... method RequireAutoConfDefaults (line 240) | func (h *MigrationTestHelper) RequireAutoConfDefaults() *MigrationTest... method RequireAutoFieldsSetToAuto (line 249) | func (h *MigrationTestHelper) RequireAutoFieldsSetToAuto() *MigrationT... method RequireNoAutoValues (line 256) | func (h *MigrationTestHelper) RequireNoAutoValues() *MigrationTestHelp... method RequireMapDoesNotContainValue (line 280) | func (h *MigrationTestHelper) RequireMapDoesNotContainValue(path strin... method getNestedValue (line 290) | func (h *MigrationTestHelper) getNestedValue(path string) any { method parseKuboConfigPath (line 327) | func (h *MigrationTestHelper) parseKuboConfigPath(path string) []PathS... method splitKuboConfigPath (line 358) | func (h *MigrationTestHelper) splitKuboConfigPath(path string) []string { function NewMigrationTestHelper (line 189) | func NewMigrationTestHelper(t *testing.T, configPath string) *MigrationT... type PathSegment (line 322) | type PathSegment struct function setupStaticV16Repo (line 398) | func setupStaticV16Repo(t *testing.T) *harness.Node { function cloneStaticRepoFixture (line 428) | func cloneStaticRepoFixture(t *testing.T, srcPath, dstPath string) { function testDaemonCorruptedConfigHandling (line 467) | func testDaemonCorruptedConfigHandling(t *testing.T) { function testDaemonMissingFieldsHandling (line 501) | func testDaemonMissingFieldsHandling(t *testing.T) { function testRepoMigrationWithAuto (line 543) | func testRepoMigrationWithAuto(t *testing.T) { function testRepoBackwardMigration (line 564) | func testRepoBackwardMigration(t *testing.T) { function runDaemonMigrationWithMonitoring (line 605) | func runDaemonMigrationWithMonitoring(t *testing.T, node *harness.Node) ... function runDaemonWithExpectedMigrations (line 611) | func runDaemonWithExpectedMigrations(t *testing.T, node *harness.Node, s... function runDaemonWithMultipleMigrationMonitoring (line 634) | func runDaemonWithMultipleMigrationMonitoring(t *testing.T, node *harnes... function assertNoTempFiles (line 779) | func assertNoTempFiles(t *testing.T, dir string, msgAndArgs ...any) { function backupPath (line 786) | func backupPath(configPath string, fromVer, toVer int) string { function setupDaemonCmd (line 790) | func setupDaemonCmd(ctx context.Context, node *harness.Node, args ...str... function testNoTempFilesAfterSuccessfulMigration (line 799) | func testNoTempFilesAfterSuccessfulMigration(t *testing.T) { function testNoTempFilesAfterFailedMigration (line 809) | func testNoTempFilesAfterFailedMigration(t *testing.T) { function testBackupFilesPersistAfterSuccessfulMigration (line 828) | func testBackupFilesPersistAfterSuccessfulMigration(t *testing.T) { function testBackupFilesCanRevertMigration (line 856) | func testBackupFilesCanRevertMigration(t *testing.T) { function testConversionFailureCleanup (line 891) | func testConversionFailureCleanup(t *testing.T) { FILE: test/cli/migrations/migration_17_to_latest_test.go function TestMigration17ToLatest (line 31) | func TestMigration17ToLatest(t *testing.T) { function testProviderReproviderMigration (line 48) | func testProviderReproviderMigration(t *testing.T) { function testFlatStrategyConversion (line 89) | func testFlatStrategyConversion(t *testing.T) { function testEmptyProviderReproviderMigration (line 114) | func testEmptyProviderReproviderMigration(t *testing.T) { function testProviderOnlyMigration (line 134) | func testProviderOnlyMigration(t *testing.T) { function testReproviderOnlyMigration (line 156) | func testReproviderOnlyMigration(t *testing.T) { function testInvalidStrategyMigration (line 178) | func testInvalidStrategyMigration(t *testing.T) { function testRepoProviderReproviderMigration (line 220) | func testRepoProviderReproviderMigration(t *testing.T) { function setupV17RepoWithProviderConfig (line 244) | func setupV17RepoWithProviderConfig(t *testing.T) *harness.Node { function setupV17RepoWithFlatStrategy (line 257) | func setupV17RepoWithFlatStrategy(t *testing.T) *harness.Node { function setupV17RepoWithConfig (line 269) | func setupV17RepoWithConfig(t *testing.T, providerConfig, reproviderConf... function setupV17RepoWithEmptySections (line 303) | func setupV17RepoWithEmptySections(t *testing.T) *harness.Node { function setupV17RepoWithProviderOnly (line 310) | func setupV17RepoWithProviderOnly(t *testing.T) *harness.Node { function setupV17RepoWithReproviderOnly (line 320) | func setupV17RepoWithReproviderOnly(t *testing.T) *harness.Node { function setupV17RepoWithInvalidStrategy (line 330) | func setupV17RepoWithInvalidStrategy(t *testing.T) *harness.Node { function runDaemonMigrationFromV17 (line 340) | func runDaemonMigrationFromV17(t *testing.T, node *harness.Node) (string... method RequireProviderMigration (line 356) | func (h *MigrationTestHelper) RequireProviderMigration() *MigrationTestH... FILE: test/cli/migrations/migration_concurrent_test.go constant daemonStartupWait (line 17) | daemonStartupWait = 2 * time.Second function TestConcurrentMigrations (line 20) | func TestConcurrentMigrations(t *testing.T) { function testConcurrentDaemonMigrations (line 26) | func testConcurrentDaemonMigrations(t *testing.T) { FILE: test/cli/migrations/migration_mixed_15_to_latest_test.go function TestMixedMigration15ToLatest (line 41) | func TestMixedMigration15ToLatest(t *testing.T) { function TestMixedMigrationLatestTo15Downgrade (line 52) | func TestMixedMigrationLatestTo15Downgrade(t *testing.T) { function testDaemonMigration15ToLatest (line 59) | func testDaemonMigration15ToLatest(t *testing.T) { function testRepoMigration15ToLatest (line 123) | func testRepoMigration15ToLatest(t *testing.T) { function setupStaticV15Repo (line 164) | func setupStaticV15Repo(t *testing.T) *harness.Node { function runDaemonWithLegacyMigrationMonitoring (line 181) | func runDaemonWithLegacyMigrationMonitoring(t *testing.T, node *harness.... function runDaemonWithMigrationMonitoringCustomEnv (line 200) | func runDaemonWithMigrationMonitoringCustomEnv(t *testing.T, node *harne... function buildCustomPath (line 293) | func buildCustomPath(mockBinDirs ...string) string { function runMigrationWithCustomPath (line 301) | func runMigrationWithCustomPath(node *harness.Node, customPath string, a... function createMockMigrationBinary (line 320) | func createMockMigrationBinary(t *testing.T, fromVer, toVer string) stri... function expectedMigrationSteps (line 387) | func expectedMigrationSteps(from, to int, forward bool) []string { function verifyMigrationSteps (line 408) | func verifyMigrationSteps(t *testing.T, output string, from, to int, for... function getNestedValue (line 416) | func getNestedValue(config map[string]any, path string) any { function testRepoReverseHybridMigrationLatestTo15 (line 435) | func testRepoReverseHybridMigrationLatestTo15(t *testing.T) { FILE: test/cli/must.go function MustVal (line 3) | func MustVal[V any](val V, err error) V { FILE: test/cli/name_test.go function TestName (line 22) | func TestName(t *testing.T) { function TestNameGetPut (line 346) | func TestNameGetPut(t *testing.T) { FILE: test/cli/p2p_test.go function waitForListenerCount (line 21) | func waitForListenerCount(t *testing.T, node *harness.Node, expectedCoun... function waitForListenerProtocol (line 34) | func waitForListenerProtocol(t *testing.T, node *harness.Node, protocol ... function TestP2PForeground (line 48) | func TestP2PForeground(t *testing.T) { FILE: test/cli/peering_test.go function TestPeering (line 14) | func TestPeering(t *testing.T) { FILE: test/cli/pin_ls_names_test.go type pinInfo (line 16) | type pinInfo struct type pinLsJSON (line 22) | type pinLsJSON struct function setupTestNode (line 27) | func setupTestNode(t *testing.T) *harness.Node { function assertPinOutput (line 38) | func assertPinOutput(t *testing.T, output, cid, pinName string) { function assertCIDOnly (line 45) | func assertCIDOnly(t *testing.T, output, cid string) { function assertNotPresent (line 51) | func assertNotPresent(t *testing.T, output, cid, pinName string) { function TestPinLsWithNamesForSpecificCIDs (line 58) | func TestPinLsWithNamesForSpecificCIDs(t *testing.T) { function TestPinLsEdgeCases (line 498) | func TestPinLsEdgeCases(t *testing.T) { FILE: test/cli/pin_name_validation_test.go function TestPinNameValidation (line 12) | func TestPinNameValidation(t *testing.T) { function TestAddPinNameValidation (line 113) | func TestAddPinNameValidation(t *testing.T) { FILE: test/cli/ping_test.go function TestPing (line 12) | func TestPing(t *testing.T) { FILE: test/cli/pinning_remote_test.go function runPinningService (line 21) | func runPinningService(t *testing.T, authToken string) (*pinningservice.... function TestRemotePinning (line 38) | func TestRemotePinning(t *testing.T) { FILE: test/cli/pins_test.go type testPinsArgs (line 16) | type testPinsArgs struct function testPins (line 23) | func testPins(t *testing.T, args testPinsArgs) { function testPinsErrorReporting (line 125) | func testPinsErrorReporting(t *testing.T, args testPinsArgs) { function testPinDAG (line 140) | func testPinDAG(t *testing.T, args testPinsArgs) { function testPinProgress (line 166) | func testPinProgress(t *testing.T, args testPinsArgs) { function TestPins (line 188) | func TestPins(t *testing.T) { FILE: test/cli/provide_stats_test.go constant provideStatEventuallyTimeout (line 18) | provideStatEventuallyTimeout = 15 * time.Second constant provideStatEventuallyTick (line 19) | provideStatEventuallyTick = 100 * time.Millisecond type sweepStats (line 25) | type sweepStats struct function parseSweepStats (line 42) | func parseSweepStats(t *testing.T, jsonOutput string) sweepStats { function TestProvideStatAllMetricsDocumented (line 60) | func TestProvideStatAllMetricsDocumented(t *testing.T) { function TestProvideStatBasic (line 146) | func TestProvideStatBasic(t *testing.T) { function TestProvideStatFlags (line 188) | func TestProvideStatFlags(t *testing.T) { function TestProvideStatLegacyProvider (line 343) | func TestProvideStatLegacyProvider(t *testing.T) { function TestProvideStatOutputFormats (line 381) | func TestProvideStatOutputFormats(t *testing.T) { function TestProvideStatIntegration (line 434) | func TestProvideStatIntegration(t *testing.T) { function TestProvideStatDisabledConfig (line 491) | func TestProvideStatDisabledConfig(t *testing.T) { FILE: test/cli/provider_test.go constant timeStep (line 23) | timeStep = 20 * time.Millisecond constant timeout (line 24) | timeout = time.Second type cfgApplier (line 27) | type cfgApplier function runProviderSuite (line 29) | func runProviderSuite(t *testing.T, reprovide bool, apply cfgApplier) { function runResumeTests (line 621) | func runResumeTests(t *testing.T, apply cfgApplier) { type provideStatJSON (line 709) | type provideStatJSON struct function parseProvideStatJSON (line 723) | func parseProvideStatJSON(output string) (offset time.Duration, prefix s... function TestProvider (line 733) | func TestProvider(t *testing.T) { function TestHTTPOnlyProviderWithSweepEnabled (line 775) | func TestHTTPOnlyProviderWithSweepEnabled(t *testing.T) { function TestProviderKeystoreDatastorePurge (line 859) | func TestProviderKeystoreDatastorePurge(t *testing.T) { function TestProviderKeystoreMigrationPurge (line 912) | func TestProviderKeystoreMigrationPurge(t *testing.T) { function dirExists (line 961) | func dirExists(path string) bool { FILE: test/cli/pubsub_test.go function waitForSubscription (line 16) | func waitForSubscription(t *testing.T, node *harness.Node, topic string) { function waitForMessagePropagation (line 29) | func waitForMessagePropagation(t *testing.T) { function publishMessages (line 36) | func publishMessages(t *testing.T, publisher *harness.Node, topic string... function TestPubsub (line 57) | func TestPubsub(t *testing.T) { FILE: test/cli/rcmgr_test.go function TestRcmgr (line 18) | func TestRcmgr(t *testing.T) { function unmarshalLimits (line 331) | func unmarshalLimits(t *testing.T, b []byte) *libp2p.LimitsConfigAndUsage { FILE: test/cli/repo_verify_test.go constant emptyFileFlatfsFilename (line 19) | emptyFileFlatfsFilename = "CIQL7TG2PB52XIZLLHDYIUFMHUQLMMZWBNBZSLDXFCPZ5... constant emptyDirFlatfsFilename (line 22) | emptyDirFlatfsFilename = "CIQFTFEEHEDF6KLBT32BFAGLXEZL4UWFNWM4LFTLMXQBCE... function getEligibleFlatfsBlockFiles (line 30) | func getEligibleFlatfsBlockFiles(t *testing.T, node *harness.Node) []str... function corruptRandomBlock (line 48) | func corruptRandomBlock(t *testing.T, node *harness.Node) string { function corruptMultipleBlocks (line 61) | func corruptMultipleBlocks(t *testing.T, node *harness.Node, count int) ... function TestRepoVerify (line 75) | func TestRepoVerify(t *testing.T) { FILE: test/cli/routing_dht_test.go function waitUntilProvidesComplete (line 16) | func waitUntilProvidesComplete(t *testing.T, n *harness.Node) { function testRoutingDHT (line 43) | func testRoutingDHT(t *testing.T, enablePubsub bool) { function testSelfFindDHT (line 150) | func testSelfFindDHT(t *testing.T) { function TestRoutingDHT (line 166) | func TestRoutingDHT(t *testing.T) { FILE: test/cli/rpc_auth_test.go constant rpcDeniedMsg (line 14) | rpcDeniedMsg = "Kubo RPC Access Denied: Please provide a valid authoriza... function TestRPCAuth (line 16) | func TestRPCAuth(t *testing.T) { FILE: test/cli/rpc_content_type_test.go function TestRPCDagExportContentType (line 22) | func TestRPCDagExportContentType(t *testing.T) { function TestRPCBlockGetContentType (line 47) | func TestRPCBlockGetContentType(t *testing.T) { function TestRPCProfileContentType (line 72) | func TestRPCProfileContentType(t *testing.T) { function TestHTTPRPCNameGet (line 106) | func TestHTTPRPCNameGet(t *testing.T) { FILE: test/cli/rpc_get_output_test.go function TestRPCGetContentType (line 22) | func TestRPCGetContentType(t *testing.T) { FILE: test/cli/rpc_unixsocket_test.go function TestRPCUnixSocket (line 15) | func TestRPCUnixSocket(t *testing.T) { FILE: test/cli/stats_test.go function TestStats (line 11) | func TestStats(t *testing.T) { FILE: test/cli/swarm_test.go function TestSwarm (line 14) | func TestSwarm(t *testing.T) { FILE: test/cli/telemetry_test.go function TestTelemetry (line 20) | func TestTelemetry(t *testing.T) { FILE: test/cli/testutils/asserts.go function AssertStringContainsOneOf (line 8) | func AssertStringContainsOneOf(t *testing.T, str string, ss ...string) { FILE: test/cli/testutils/cids.go constant CIDWelcomeDocs (line 4) | CIDWelcomeDocs = "QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc" constant CIDEmptyDir (line 5) | CIDEmptyDir = "QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn" FILE: test/cli/testutils/files.go function MustOpen (line 9) | func MustOpen(name string) *os.File { function FindUp (line 19) | func FindUp(name, dir string) string { FILE: test/cli/testutils/floats.go function FloatTruncate (line 3) | func FloatTruncate(value float64, decimalPlaces int) float64 { FILE: test/cli/testutils/httprouting/mock_http_content_router.go type MockHTTPContentRouter (line 21) | type MockHTTPContentRouter struct method FindProviders (line 32) | func (r *MockHTTPContentRouter) FindProviders(ctx context.Context, key... method ProvideBitswap (line 57) | func (r *MockHTTPContentRouter) ProvideBitswap(ctx context.Context, re... method FindPeers (line 64) | func (r *MockHTTPContentRouter) FindPeers(ctx context.Context, pid pee... method GetIPNS (line 87) | func (r *MockHTTPContentRouter) GetIPNS(ctx context.Context, name ipns... method PutIPNS (line 91) | func (r *MockHTTPContentRouter) PutIPNS(ctx context.Context, name ipns... method NumFindProvidersCalls (line 95) | func (r *MockHTTPContentRouter) NumFindProvidersCalls() int { method AddProvider (line 102) | func (r *MockHTTPContentRouter) AddProvider(key cid.Cid, record types.... method GetClosestPeers (line 120) | func (r *MockHTTPContentRouter) GetClosestPeers(ctx context.Context, k... FILE: test/cli/testutils/json.go type JSONObj (line 5) | type JSONObj function ToJSONStr (line 7) | func ToJSONStr(m JSONObj) string { FILE: test/cli/testutils/pinningservice/pinning.go function NewRouter (line 17) | func NewRouter(authToken string, svc *PinningService) http.Handler { function authHandler (line 30) | func authHandler(authToken string, delegate http.Handler) http.Handler { function New (line 48) | func New() *PinningService { type PinningService (line 56) | type PinningService struct method addPin (line 164) | func (p *PinningService) addPin(writer http.ResponseWriter, req *http.... method listPins (line 192) | func (p *PinningService) listPins(writer http.ResponseWriter, req *htt... method getPin (line 349) | func (p *PinningService) getPin(writer http.ResponseWriter, req *http.... method replacePin (line 362) | func (p *PinningService) replacePin(writer http.ResponseWriter, req *h... method removePin (line 386) | func (p *PinningService) removePin(writer http.ResponseWriter, req *ht... type Pin (line 63) | type Pin struct type PinStatus (line 70) | type PinStatus struct method MarshalJSON (line 80) | func (p *PinStatus) MarshalJSON() ([]byte, error) { method Clone (line 103) | func (p *PinStatus) Clone() PinStatus { constant matchExact (line 115) | matchExact = "exact" constant matchIExact (line 116) | matchIExact = "iexact" constant matchPartial (line 117) | matchPartial = "partial" constant matchIPartial (line 118) | matchIPartial = "ipartial" constant statusQueued (line 120) | statusQueued = "queued" constant statusPinning (line 121) | statusPinning = "pinning" constant statusPinned (line 122) | statusPinned = "pinned" constant statusFailed (line 123) | statusFailed = "failed" constant timeLayout (line 125) | timeLayout = "2006-01-02T15:04:05.999Z" function errResp (line 128) | func errResp(w http.ResponseWriter, reason, details string, statusCode i... function writeJSON (line 145) | func writeJSON(w http.ResponseWriter, val any, statusCode int) { type AddPinRequest (line 157) | type AddPinRequest struct type ListPinsResponse (line 187) | type ListPinsResponse struct FILE: test/cli/testutils/protobuf.go function VarintLen (line 6) | func VarintLen(v uint64) int { function LinkSerializedSize (line 20) | func LinkSerializedSize(nameLen, cidLen int, tsize uint64) int { function EstimateFilesForBlockThreshold (line 33) | func EstimateFilesForBlockThreshold(threshold, nameLen, cidLen int, tsiz... FILE: test/cli/testutils/random_deterministic.go type randomReader (line 11) | type randomReader struct method Read (line 16) | func (r *randomReader) Read(p []byte) (int, error) { function DeterministicRandomReader (line 29) | func DeterministicRandomReader(sizeStr string, seed string) (io.Reader, ... function DeterministicRandomReaderBytes (line 39) | func DeterministicRandomReaderBytes(size int64, seed string) (io.Reader,... FILE: test/cli/testutils/requires.go function RequiresDocker (line 10) | func RequiresDocker(t *testing.T) { function RequiresFUSE (line 16) | func RequiresFUSE(t *testing.T) { function isFUSEAvailable (line 34) | func isFUSEAvailable(t *testing.T) bool { function RequiresExpensive (line 61) | func RequiresExpensive(t *testing.T) { function RequiresPlugins (line 67) | func RequiresPlugins(t *testing.T) { function RequiresLinux (line 73) | func RequiresLinux(t *testing.T) { FILE: test/cli/testutils/strings.go function StrCat (line 25) | func StrCat(args ...any) []string { function PreviewStr (line 48) | func PreviewStr(s string) string { function SplitLines (line 58) | func SplitLines(s string) []string { function URLStrToMultiaddr (line 68) | func URLStrToMultiaddr(u string) multiaddr.Multiaddr { function ForEachPar (line 86) | func ForEachPar[T any](s []T, f func(T)) { FILE: test/cli/tracing_test.go function TestTracing (line 39) | func TestTracing(t *testing.T) { FILE: test/cli/transports_test.go function TestTransports (line 17) | func TestTransports(t *testing.T) { FILE: test/cli/webui_test.go function TestWebUI (line 12) | func TestWebUI(t *testing.T) { FILE: test/dependencies/iptb/iptb.go function init (line 13) | func init() { function main (line 27) | func main() { FILE: test/dependencies/ma-pipe-unidir/main.go constant USAGE (line 14) | USAGE = "ma-pipe-unidir [-l|--listen] [--pidFile=path] [-h|--help]