oswrap

package
v2.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Overview

Package oswrap exists to translate pathnames into extended-length path names behind the scenes, so that googet can install packages with deep directory structures on Windows.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

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

Create calls os.Create

func Lstat

func Lstat(name string) (os.FileInfo, error)

Lstat calls os.Lstat

func Mkdir

func Mkdir(name string, mode os.FileMode) error

Mkdir calls os.Mkdir

func MkdirAll

func MkdirAll(name string, mode os.FileMode) error

MkdirAll calls os.MkdirAll

func Open

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

Open calls os.Open

func OpenFile

func OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)

OpenFile calls os.OpenFile

func Remove

func Remove(name string) error

Remove calls os.Remove

func RemoveAll

func RemoveAll(name string) error

RemoveAll calls os.RemoveAll

func RemoveOnReboot

func RemoveOnReboot(name string) error

RemoveOnReboot not implemented on non Windows.

func Rename

func Rename(oldpath, newpath string) error

Rename calls os.Rename

func Stat

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

Stat calls os.Stat

func Walk

func Walk(root string, walkFn filepath.WalkFunc) error

Walk calls filepath.Walk

Types

This section is empty.

Jump to

Keyboard shortcuts

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