rename

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	FILE_RENAME_FLAG_REPLACE_IF_EXISTS = 0x00000001
	FILE_RENAME_FLAG_POSIX_SEMANTICS   = 0x00000002
)

Variables

This section is empty.

Functions

func PosixRename

func PosixRename(oldName, newName string) error

TODO: test and use this

func Remove

func Remove(name string) error

Types

type FILE_BASIC_INFO

type FILE_BASIC_INFO struct {
	CreationTime   int64
	LastAccessTime int64
	LastWriteTime  int64
	ChangedTime    int64
	FileAttributes uint32
	// contains filtered or unexported fields
}

type FILE_DISPOSITION_INFO

type FILE_DISPOSITION_INFO struct {
	Flags uint32
}

type FILE_DISPOSITION_INFO_EX

type FILE_DISPOSITION_INFO_EX struct {
	Flags uint32
}

Jump to

Keyboard shortcuts

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