Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrBlobFormatterFailed ¶
func MakeErrBlobFormatterFailed ¶
func MakeErrBlobFormatterFailed( err *exec.ExitError, ) ErrBlobFormatterFailed
func (ErrBlobFormatterFailed) Error ¶
func (err ErrBlobFormatterFailed) Error() string
func (ErrBlobFormatterFailed) GetErrorType ¶
func (err ErrBlobFormatterFailed) GetErrorType() pkgErrDisamb
func (ErrBlobFormatterFailed) Is ¶
func (err ErrBlobFormatterFailed) Is(target error) bool
func (ErrBlobFormatterFailed) ShouldShowStackTrace ¶
func (err ErrBlobFormatterFailed) ShouldShowStackTrace() bool
type ErrHasInlineBlobAndFilePath ¶
func MakeErrHasInlineBlobAndFilePath ¶
func MakeErrHasInlineBlobAndFilePath( blobFD *fd.FD, inlineBlobDigest mad_domain_interfaces.MarklId, ) (err *ErrHasInlineBlobAndFilePath)
func (*ErrHasInlineBlobAndFilePath) Error ¶
func (err *ErrHasInlineBlobAndFilePath) Error() string
func (*ErrHasInlineBlobAndFilePath) GetErrorType ¶
func (err *ErrHasInlineBlobAndFilePath) GetErrorType() pkgErrDisamb
func (*ErrHasInlineBlobAndFilePath) Is ¶
func (err *ErrHasInlineBlobAndFilePath) Is(target error) bool
type ErrHasInlineBlobAndMetadataDigest ¶
type ErrHasInlineBlobAndMetadataDigest struct {
Inline mad_domain_interfaces.MarklId
// contains filtered or unexported fields
}
func MakeErrHasInlineBlobAndMetadataBlobId ¶
func MakeErrHasInlineBlobAndMetadataBlobId( inline, metadata mad_domain_interfaces.MarklId, ) (err *ErrHasInlineBlobAndMetadataDigest)
func (*ErrHasInlineBlobAndMetadataDigest) Error ¶
func (err *ErrHasInlineBlobAndMetadataDigest) Error() string
func (*ErrHasInlineBlobAndMetadataDigest) GetErrorType ¶
func (err *ErrHasInlineBlobAndMetadataDigest) GetErrorType() pkgErrDisamb
func (*ErrHasInlineBlobAndMetadataDigest) Is ¶
func (err *ErrHasInlineBlobAndMetadataDigest) Is(target error) bool
type Factory ¶
type Factory struct {
EnvDir mad_env_dir.Env
BlobStore mad_domain_interfaces.BlobStore
BlobFormatter script_config.RemoteScript
BlobTreeDir string
AllowMissingTypeSig bool
}
func (Factory) MakeFormatterFamily ¶
func (factory Factory) MakeFormatterFamily() FormatterFamily
type Format ¶
type Format struct {
FormatterFamily
Parser
}
type Formatter ¶
type Formatter interface {
FormatMetadata(io.Writer, FormatterContext) (int64, error)
}
type FormatterContext ¶
type FormatterContext struct {
FormatterOptions
objects.EncoderContext
}
TODO make a reliable constructor for this
type FormatterFamily ¶
type FormatterOptions ¶
type FormatterOptions = checkout_options.TextFormatterOptions
type ParserContext ¶
type ParserContext interface {
objects.DecoderContext
}
Source Files
¶
- errors.go
- factory.go
- formatter.go
- formatter_components.go
- main.go
- text_parser.go
- text_parser2.go
Click to show internal directories.
Click to hide internal directories.