fileutil

package
v0.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package fileutil provides internal cross-platform filesystem operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RemoveFile

func RemoveFile(path string) error

RemoveFile removes path and succeeds if path does not exist.

func ReplaceFile

func ReplaceFile(source, destination string) error

ReplaceFile renames source over destination.

func SyncDirectory

func SyncDirectory(dir string) (err error)

SyncDirectory flushes directory metadata to stable storage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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