Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the
iofs
adapter to also return other interfaces from io/fs
Instead of relying on difficult casting, this improves developer experience by providing easy ways of convering a billy filesystem into the rest of the filesystem interfaces that are available in `io/fs`. This is a safe operation since we already ensure the type implements such interfaces some lines below my changes. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
- Loading branch information