fd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base(p string) string

func Dir

func Dir(p string) string

func DirBaseOnly

func DirBaseOnly(p string) string

func DoesDirectoryContainPath

func DoesDirectoryContainPath(dir, path string) bool

func Ext

func Ext(p string) string

func ExtSansDot

func ExtSansDot(p string) string

func FileNameSansExt

func FileNameSansExt(p string) string

func FileNameSansExtRelTo

func FileNameSansExtRelTo(p, d string) (string, error)

func FsRootDir

func FsRootDir() string

Types

type Std

type Std struct {
	ui.Printer
}

func MakeStd

func MakeStd(f *os.File) Std

func MakeStdFromWriter

func MakeStdFromWriter(w io.Writer) Std

Source Files

  • std.go
  • util.go

Jump to

Keyboard shortcuts

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