fs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

File represent a file.

func NewFile

func NewFile[T bytes.ByteKeeper](name string, content T) *File

NewFile creates new File instance.

func (File) Content

func (f File) Content() bytes.Bytes

Content returns file content.

func (File) Name

func (f File) Name() string

Name returns file name.

Jump to

Keyboard shortcuts

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