filesystem

package
v0.0.0-...-932f57c Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem struct {
	base.Base
}

FileSystem defined a media library storage using file system

func (*FileSystem) GetFullPath

func (f *FileSystem) GetFullPath(url string, option *base.Option) (path string, err error)

GetFullPath return full file path from a relative file path

func (*FileSystem) Retrieve

func (f *FileSystem) Retrieve(url string) (base.FileInterface, error)

Retrieve retrieve file content with url

func (*FileSystem) Store

func (f *FileSystem) Store(name string, option *base.Option, reader io.Reader) (err error)

Store save reader's context with name

func (f *FileSystem) Symlink(srcName string, name string, option *base.Option) (err error)

Symlink create symbolic link

Jump to

Keyboard shortcuts

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