file

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Package file provides helper functions for working with files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeWrite

func SafeWrite(path string, data []byte) error

SafeWrite writes data to a temporary file and then renames it to what's specified in path

Types

This section is empty.

Jump to

Keyboard shortcuts

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