Documentation ¶
Index ¶
- Constants
- func ClearHashData(fds *Storage)
- func ClearHashRelationshipTable(fds *Storage)
- func CreateHashRelationshipTable(fds *Storage)
- func CreateHashsTable(fds *Storage)
- type Storage
- func (fds *Storage) AddHashData(hr *models.HashData) int64
- func (fds *Storage) AddHashRelationship(hr *models.HashRelationship)
- func (fds *Storage) Clear()
- func (fds *Storage) Create()
- func (fds *Storage) FindHashData(HashData string) []*models.HashData
- func (fds *Storage) GetAllHashData() []*models.HashData
- func (fds *Storage) GetAllHashRelationships() []*models.HashRelationship
- func (fds *Storage) GetDuplicateHashIds(limit int) []models.HashIdnCount
- func (fds *Storage) GetDuplicateHashes(limit int) map[string][]*models.HashRelationship
- func (fds *Storage) GetFilesByHashId(hashid int64) []string
- func (fds *Storage) GetHashData(ID int64) *models.HashData
- func (fds *Storage) GetHashRelationshipByHash(hashid int64) []*models.HashRelationship
- func (fds *Storage) ParseDuplicatedHashIDsRows(rows *sql.Rows) []models.HashIdnCount
- func (fds *Storage) ParseHashDataRows(rows *sql.Rows) []*models.HashData
- func (fds *Storage) ParseHashRelationshipRows(rows *sql.Rows) []*models.HashRelationship
- func (fds *Storage) ParseHashRelationshipRows1(rows *sql.Rows) map[string]*models.HashRelationship
Constants ¶
View Source
const HashToFilesHashIDColumn = "hashid"
View Source
const HashToFilesIDColumn = "id"
View Source
const HashToFilesPathColumn = "path"
View Source
const HashToFilesTableName = "hashtofiles"
View Source
const HashToFilesTypeColumn = "type"
View Source
const HashToFilesViewDelete = "type"
View Source
const HashsDataColumn = "data"
View Source
const HashsIDColumn = "id"
View Source
const HashsTableName = "hashes"
Variables ¶
This section is empty.
Functions ¶
func ClearHashData ¶
func ClearHashData(fds *Storage)
func ClearHashRelationshipTable ¶
func ClearHashRelationshipTable(fds *Storage)
func CreateHashRelationshipTable ¶
func CreateHashRelationshipTable(fds *Storage)
func CreateHashsTable ¶
func CreateHashsTable(fds *Storage)
Types ¶
type Storage ¶
func (*Storage) AddHashRelationship ¶
func (fds *Storage) AddHashRelationship(hr *models.HashRelationship)
func (*Storage) GetAllHashData ¶
func (*Storage) GetAllHashRelationships ¶
func (fds *Storage) GetAllHashRelationships() []*models.HashRelationship
func (*Storage) GetDuplicateHashIds ¶
func (fds *Storage) GetDuplicateHashIds(limit int) []models.HashIdnCount
func (*Storage) GetDuplicateHashes ¶
func (fds *Storage) GetDuplicateHashes(limit int) map[string][]*models.HashRelationship
func (*Storage) GetFilesByHashId ¶
func (*Storage) GetHashRelationshipByHash ¶
func (fds *Storage) GetHashRelationshipByHash(hashid int64) []*models.HashRelationship
func (*Storage) ParseDuplicatedHashIDsRows ¶
func (fds *Storage) ParseDuplicatedHashIDsRows(rows *sql.Rows) []models.HashIdnCount
func (*Storage) ParseHashDataRows ¶
func (*Storage) ParseHashRelationshipRows ¶
func (fds *Storage) ParseHashRelationshipRows(rows *sql.Rows) []*models.HashRelationship
func (*Storage) ParseHashRelationshipRows1 ¶
Click to show internal directories.
Click to hide internal directories.