package scanner

type FilterEntry string

type Filter []FilterEntry

type Directory struct {
}

type Image struct {
	filter       Filter
	topDirectory *Directory
}

type Hash [64]byte

type ImageDataBase struct {
	imageMap map[string]*Image
}

func LoadImageDataBase(baseDir string) (*ImageDataBase, error) {
	return loadImageDataBase(baseDir)
}

package scanner

type FilterEntry string

type Filter []FilterEntry

type Directory struct {
}

type Image struct {
	filter       Filter
	topDirectory *Directory
}

type Hash [64]byte

type Object struct {
	length uint64
}

type ImageDataBase struct {
	imageMap  map[string]*Image
	objectMap map[Hash]*Object
}

func LoadImageDataBase(baseDir string) (*ImageDataBase, error) {
	return loadImageDataBase(baseDir)
}

Define Object type and add objectMap.
Define Object type and add objectMap.
