Skip to content

align tinyfs with Go 1.16+ io/fs package #6

Open
@bgould

Description

@bgould

Go 1.16 adds a new package io/fs with interfaces that function as an abstraction layer for filesystems. The analogous interfaces in TinyGo/tinyfs are very close to the ones in the io/fs package, so we should implement those "natively" where possible, at least for Go 1.16 users.

It may be worth considering to require Go 1.16 for using tinyfs going forward so that we can avoid cluttering up the codebase with build tags, etc., to account for the missing io/fs package for Go 1.15 and below.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions