Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectCorrupt ¶
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.
Click to show internal directories.
Click to hide internal directories.