ifs

package
v0.0.0-...-67a1e62 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 5 Imported by: 8

Documentation

Overview

Package ifs implements case-insensitive FS lookups as a compatibility layer for Linux. For Windows this package calls os functions directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chdir

func Chdir(path string) error

func Copy

func Copy(src, dst string) error

func CopyDir

func CopyDir(src, dst string) error

func Create

func Create(path string) (*os.File, error)

func Denormalize

func Denormalize(path string) string

func Mkdir

func Mkdir(path string) error

func MkdirAll

func MkdirAll(path string) error

func Normalize

func Normalize(path string) string

func Open

func Open(path string) (*os.File, error)

func OpenFile

func OpenFile(path string, flag int) (*os.File, error)

func ReadDir

func ReadDir(path string) ([]os.DirEntry, error)

func Remove

func Remove(path string) error

func RemoveAll

func RemoveAll(path string) error

func Rename

func Rename(src, dst string) error

func Stat

func Stat(path string) (os.FileInfo, error)

func WalkDir

func WalkDir(path string, fnc fs.WalkDirFunc) error

func Workdir

func Workdir() (string, error)

Types

type DirEntry

type DirEntry = fs.DirEntry

Jump to

Keyboard shortcuts

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