filemgmt

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package filemgmt Created by Teocci. Author: teocci@yandex.com on 2021-Aug-12

Index

Constants

View Source
const Prefix = "[go-cc]: "

Variables

This section is empty.

Functions

func CloseFile

func CloseFile() func(*os.File)

func Compress

func Compress(exportDir string) error

func FormatFileName

func FormatFileName(dir, browser, filename, format string) string

func IntToBool

func IntToBool(a int) bool

func MakeDir

func MakeDir(dirName string) error

func ReadFile

func ReadFile(filename string) (string, error)

func TimeEpochFormat

func TimeEpochFormat(epoch int64) time.Time

func TimeStampFormat

func TimeStampFormat(stamp int64) time.Time

func WriteFile

func WriteFile(filename string, data []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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