simple tool to de-duplicate and arrange media.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
345 B

package arrange
import "fmt"
// NotMedia is for unkown filetypes.
type NotMedia struct {
Path string
}
func (nm NotMedia) Error() string {
return fmt.Sprintf("not media: %q", nm.Path)
}
// Dup indicates a file with duplicate content.
type Dup struct {
Path string
}
func (d Dup) Error() string {
return fmt.Sprintf("dup: %q", d.Path)
}