fileinspect

package
Version: v0.0.0-...-c34a5e7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Source Files

Jump to

Keyboard shortcuts

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