Michal Iskierko 6d31343205 feat: Waku v2 bridge
Issue #12610
2024-02-22 17:07:59 +01:00

23 lines
364 B
Go

// Copyright 2021 Ross Light
// SPDX-License-Identifier: ISC
// +build !go1.16
package fs
import (
"os"
)
// FS is a copy of Go 1.16's io/fs.FS interface.
type FS interface {
Open(name string) (File, error)
}
// File is a copy of Go 1.16's io/fs.File interface.
type File interface {
Stat() (os.FileInfo, error)
Read([]byte) (int, error)
Close() error
}