44 lines · 926 B · Go
RawDownload
// Copyright 2023 The Gitea Authors. All rights reserved.// SPDX-License-Identifier: MIT package internal import "forgejo.org/modules/timeutil" type FileUpdate struct {	Filename string	BlobSha  string	Size     int64	Sized    bool} // RepoChanges changes (file additions/updates/removals) to a repotype RepoChanges struct {	Updates          []FileUpdate	RemovedFilenames []string} // IndexerData represents data stored in the code indexertype IndexerData struct {	RepoID int64} // SearchResult result of performing a search in a repotype SearchResult struct {	RepoID      int64	StartIndex  int	EndIndex    int	Filename    string	Content     string	CommitID    string	UpdatedUnix timeutil.TimeStamp	Language    string	Color       string} // SearchResultLanguages result of top languages count in search resultstype SearchResultLanguages struct {	Language string	Color    string	Count    int}