osfs

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package osfs provides a basic write-only file system interface to the underlying OS file system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem struct{}

FileSystem is a handle to the OS file system.

func (FileSystem) Flush

func (fs FileSystem) Flush() error

Flush is a no-op.

func (FileSystem) Open

func (FileSystem) Open(path string) (io.WriteCloser, error)

Open returns a file for writing, creating any necessary directories. The file must be closed after use.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL