common

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) (bool, error)

FileExists - check if the file exists

Types

type CompressStats

type CompressStats struct {
	Size int64
}

func CalculateFileStats

func CalculateFileStats(file string) *CompressStats

CalculateFileStats - calculates size and statistics about file

type CompressionResult

type CompressionResult struct {
	BeforeStats CompressStats
	AfterStats  CompressStats
}

CompressionResult - object with before and after compression results

Jump to

Keyboard shortcuts

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