replacefile

package
v0.0.0-...-d8243a5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Unlicense Imports: 1 Imported by: 0

Documentation

Overview

Package replacefile implements access to the ReplaceFile Win32 API.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnableToMoveReplacement  error = errOnlyWindows
	ErrUnableToMoveReplacement2 error = errOnlyWindows
	ErrUnableToRemoveReplaced   error = errOnlyWindows
)

Functions

func ReplaceFile

func ReplaceFile(replaced string, replacement string, backup string, flags Flag) error

Types

type Flag

type Flag uint32
const (
	IgnoreMergeErrors Flag = 0x2
	IgnoreACLErrors   Flag = 0x4
)

Jump to

Keyboard shortcuts

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