Documentation ¶
Overview ¶
Package goarfs is an implementation of the fs.FS interface to make it easy to access data inside AR archives seamlessly as a replacement for direct filesystem access. This is a convenience to make it easy to ship data files around together as as single file, but still access the individual pieces inside.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ARFS ¶
type ARFS struct {
// contains filtered or unexported fields
}
func FromFile ¶
FromFile loads an AR file from the operating system filesystem and returns the fs.FS compatible interface from it. It will return an error if the AR file is corrupt/invalid.
func FromInterface ¶
func FromInterface(raw io.ReadSeeker) (*ARFS, error)
Click to show internal directories.
Click to hide internal directories.