utils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func P

func P[T any](val T) *T

Types

type OSFileSystem

type OSFileSystem struct {
}

func NewOSFileSystem

func NewOSFileSystem() OSFileSystem

func (OSFileSystem) CopyDirectory

func (fs OSFileSystem) CopyDirectory(from, to string) error

func (OSFileSystem) Create

func (OSFileSystem) Create(name string) (*os.File, error)

func (OSFileSystem) Exit

func (OSFileSystem) Exit(code int)

func (OSFileSystem) Open

func (OSFileSystem) Open(name string) (*os.File, error)

func (OSFileSystem) Remove

func (OSFileSystem) Remove(name string) error

Jump to

Keyboard shortcuts

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