indexing

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const INDEX_MAP_FILE_NAME = "index_map.csv"

Variables

This section is empty.

Functions

func Build

func Build(dir string) (map[string]api.File, error)

func CreateIndexMap

func CreateIndexMap(indexMap IndexMap) error

func LoadIndexMap

func LoadIndexMap(file io.Reader) (map[string]IndexMapEntry, error)

Types

type IndexMap

type IndexMap struct {
	Entries []IndexMapEntry
}

type IndexMapEntry

type IndexMapEntry struct {
	Id          string
	FileName    string
	LastUpdated int64
}

Jump to

Keyboard shortcuts

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