filepersist

package module
v0.0.0-...-ed29a1c Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 23

Documentation

Overview

package filepersist provdies a mechanism for persisting data to a file at a permanent location

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(filename string, data []byte, fileMode os.FileMode) error

Save saves the given data to the file at filename. If an existing file at that filename already exists, this simply chmods the existing file to match the given fileMode and otherwise leaves it alone.

Types

This section is empty.

Jump to

Keyboard shortcuts

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