fileinspect

package
v0.0.0-...-4c8e30b Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package fileinspect implements various file inspecting utils.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Size

func Size(targetDir string) (int64, error)

Size returns the size of target directory, in bytes. Same as 'du -sh $DIR'.

func Walk

func Walk(targetDir string) (map[string]os.FileInfo, error)

Walk walks all files in the target directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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