# README
⚠️ This project has been merged into github.com/sourcegraph/sourcegraph ⚠️
Codeintel Utilities
This repo contains common functionality shared between a Sourcegraph instance and src-cli.
# Functions
Gzip decorates a source reader by gzip compressing its contents.
ReadIndexerName returns the name of the tool that generated the given index contents.
SplitFile writes the contents of the given file into a series of temporary files, each of which are gzipped and are no larger than the given max payload size.
SplitReader returns a function that returns readers that return a slice of the reader at maxPayloadSize bytes long.
SplitReaderIntoFiles writes the contents of the given reader into a series of temporary files, each of which are gzipped and are no larger than the given max payload size.
StitchFiles combines multiple compressed file parts into a single file.
StitchFilesReader combines multiple compressed file parts into a single reader.
UploadIndex uploads the given index file to the upload endpoint.
# Constants
MaxBufferSize is the maximum size of the metaData line in the dump.
No description provided by the author
# Variables
ErrInvalidMetaDataVertex occurs when the first line of an LSIF index is not a valid metadata vertex.
ErrMetadataExceedsBuffer occurs when the first line of an LSIF index is too long to read.
ErrUnauthorized occurs when the upload endpoint returns a 401 response.
# Structs
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
PartFilenameFunc constructs the name of a part file from its part index.