ExIpfs.Refs is where the commands to lookup references are defined.
To get a gist of the contents, try:
iex> ExIpfs.Refs.local()
Summary
Types
Functions
@spec local() :: {:ok, [t()]} | ExIpfs.Api.error_response()
Get a list of all local references.
Response is a list of ExIpfs.ref().
@spec refs(Path.t(), list()) :: {:ok, [map()]} | ExIpfs.Api.error_response()
Get a list of all references from a given path.
Options
https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-refs
[
format: "<dst>", # Emit edges with given format. Available tokens: <src> <dst> <linkname>
edges: false, # Emit edge format: <from> -> <to>
unique: false, # Omit duplicate refs
recursive: false, # Recursively list child links
:'max-depth': -1 # Limit recursion depth (only used with recursive refs)
]