util

package
v0.0.0-...-d827436 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileIsExists

func FileIsExists(path string) bool

FileIsExists file is exists

func GetFileNameSize

func GetFileNameSize(path string) (string, int64, error)

GetFileNameSize get file name and size info

func ReadChunk

func ReadChunk(path string, index int64, size int64) ([]byte, error)

ReadChunk read chunk from file

func SHA512File

func SHA512File(path string) (string, error)

SHA512File sha512 a file

Types

This section is empty.

Jump to

Keyboard shortcuts

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