You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The files.File we embed here, is derived from unixfsfile.NewUnixfsFile which takes in a context already, and has simillar semantics internally (it cancels on Close).
Our wrapper could probably be reduced to remove some redundancy, instead just relying on the embedded methods and behaviour being hoisted up.
This might be true for other types too. But requires peeking into the implementations they wrap.
The text was updated successfully, but these errors were encountered:
Extracted from: #27 (comment)
The
files.File
we embed here, is derived fromunixfsfile.NewUnixfsFile
which takes in a context already, and has simillar semantics internally (it cancels onClose
).Our wrapper could probably be reduced to remove some redundancy, instead just relying on the embedded methods and behaviour being hoisted up.
This might be true for other types too. But requires peeking into the implementations they wrap.
The text was updated successfully, but these errors were encountered: