Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem implements the iceberg-go FileIO interface for local filesystem
func NewFileSystem ¶
func NewFileSystem(basePath string) *FileSystem
NewFileSystem creates a new local filesystem implementation
func (*FileSystem) Create ¶
func (fs *FileSystem) Create(path string) (io.WriteCloser, error)
Create creates a new file for writing
func (*FileSystem) Exists ¶
func (fs *FileSystem) Exists(path string) (bool, error)
Exists checks if a file exists
func (*FileSystem) Open ¶
func (fs *FileSystem) Open(path string) (io.ReadCloser, error)
Open opens a file for reading
Click to show internal directories.
Click to hide internal directories.