cmd

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App() *cli.App

func DetectCorrupt

func DetectCorrupt(root string) ([]string, error)

DetectCorrupt walks from the given root directory and inspect if any images file touched is corrupted. If an image is corrupted, the path of the image will be included in the return slice.

Currently this supports checking jpeg, png and gif images.

Note that we are not accepting `io/fs.FS` interface as at the time of writing (go 1.16), the FS interface does not support deleting file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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