replacefile

package module
v0.0.0-...-042ca66 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: BSD-3-Clause 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  = errOnlyWindows
	ErrUnableToMoveReplacement2 = errOnlyWindows
	ErrUnableToRemoveReplaced   = 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