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