s4wave_git

package
v0.51.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SRPCGitRepoResourceServiceServiceID = "s4wave.git.GitRepoResourceService"
View Source
const SRPCGitWorktreeResourceServiceServiceID = "s4wave.git.GitWorktreeResourceService"

Variables

View Source
var (
	FileStatusCode_name = map[int32]string{
		0: "FILE_STATUS_CODE_UNMODIFIED",
		1: "FILE_STATUS_CODE_UNTRACKED",
		2: "FILE_STATUS_CODE_MODIFIED",
		3: "FILE_STATUS_CODE_ADDED",
		4: "FILE_STATUS_CODE_DELETED",
		5: "FILE_STATUS_CODE_RENAMED",
		6: "FILE_STATUS_CODE_COPIED",
		7: "FILE_STATUS_CODE_UPDATED_BUT_UNMERGED",
	}
	FileStatusCode_value = map[string]int32{
		"FILE_STATUS_CODE_UNMODIFIED":           0,
		"FILE_STATUS_CODE_UNTRACKED":            1,
		"FILE_STATUS_CODE_MODIFIED":             2,
		"FILE_STATUS_CODE_ADDED":                3,
		"FILE_STATUS_CODE_DELETED":              4,
		"FILE_STATUS_CODE_RENAMED":              5,
		"FILE_STATUS_CODE_COPIED":               6,
		"FILE_STATUS_CODE_UPDATED_BUT_UNMERGED": 7,
	}
)

Enum value maps for FileStatusCode.

Functions

func NewSRPCGitRepoResourceServiceHandler

func NewSRPCGitRepoResourceServiceHandler(impl SRPCGitRepoResourceServiceServer, serviceID string) srpc.Handler

NewSRPCGitRepoResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.git.GitRepoResourceService

func NewSRPCGitWorktreeResourceServiceHandler

func NewSRPCGitWorktreeResourceServiceHandler(impl SRPCGitWorktreeResourceServiceServer, serviceID string) srpc.Handler

NewSRPCGitWorktreeResourceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.git.GitWorktreeResourceService

func SRPCRegisterGitRepoResourceService

func SRPCRegisterGitRepoResourceService(mux srpc.Mux, impl SRPCGitRepoResourceServiceServer) error

SRPCRegisterGitRepoResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.git.GitRepoResourceService

func SRPCRegisterGitWorktreeResourceService

func SRPCRegisterGitWorktreeResourceService(mux srpc.Mux, impl SRPCGitWorktreeResourceServiceServer) error

SRPCRegisterGitWorktreeResourceService registers the implementation with the mux. Uses the default serviceID: s4wave.git.GitWorktreeResourceService

Types

type CommitInfo

type CommitInfo struct {

	// Hash is the commit hash.
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// Message is the commit message.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// AuthorName is the name of the commit author.
	AuthorName string `protobuf:"bytes,3,opt,name=author_name,json=authorName,proto3" json:"authorName,omitempty"`
	// AuthorEmail is the email of the commit author.
	AuthorEmail string `protobuf:"bytes,4,opt,name=author_email,json=authorEmail,proto3" json:"authorEmail,omitempty"`
	// AuthorTimestamp is the author timestamp as Unix seconds.
	AuthorTimestamp int64 `protobuf:"varint,5,opt,name=author_timestamp,json=authorTimestamp,proto3" json:"authorTimestamp,omitempty"`
	// ParentHashes is the list of parent commit hashes.
	ParentHashes []string `protobuf:"bytes,6,rep,name=parent_hashes,json=parentHashes,proto3" json:"parentHashes,omitempty"`
	// contains filtered or unexported fields
}

CommitInfo contains information about a git commit.

func (*CommitInfo) CloneMessageVT

func (m *CommitInfo) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*CommitInfo) CloneVT

func (m *CommitInfo) CloneVT() *CommitInfo

func (*CommitInfo) EqualMessageVT

func (this *CommitInfo) EqualMessageVT(thatMsg any) bool

func (*CommitInfo) EqualVT

func (this *CommitInfo) EqualVT(that *CommitInfo) bool

func (*CommitInfo) GetAuthorEmail

func (x *CommitInfo) GetAuthorEmail() string

func (*CommitInfo) GetAuthorName

func (x *CommitInfo) GetAuthorName() string

func (*CommitInfo) GetAuthorTimestamp

func (x *CommitInfo) GetAuthorTimestamp() int64

func (*CommitInfo) GetHash

func (x *CommitInfo) GetHash() string

func (*CommitInfo) GetMessage

func (x *CommitInfo) GetMessage() string

func (*CommitInfo) GetParentHashes

func (x *CommitInfo) GetParentHashes() []string

func (*CommitInfo) MarshalJSON

func (x *CommitInfo) MarshalJSON() ([]byte, error)

MarshalJSON marshals the CommitInfo to JSON.

func (*CommitInfo) MarshalProtoJSON

func (x *CommitInfo) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the CommitInfo message to JSON.

func (*CommitInfo) MarshalProtoText

func (x *CommitInfo) MarshalProtoText() string

func (*CommitInfo) MarshalToSizedBufferVT

func (m *CommitInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CommitInfo) MarshalToVT

func (m *CommitInfo) MarshalToVT(dAtA []byte) (int, error)

func (*CommitInfo) MarshalVT

func (m *CommitInfo) MarshalVT() (dAtA []byte, err error)

func (*CommitInfo) ProtoMessage

func (*CommitInfo) ProtoMessage()

func (*CommitInfo) Reset

func (x *CommitInfo) Reset()

func (*CommitInfo) SizeVT

func (m *CommitInfo) SizeVT() (n int)

func (*CommitInfo) String

func (x *CommitInfo) String() string

func (*CommitInfo) UnmarshalJSON

func (x *CommitInfo) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the CommitInfo from JSON.

func (*CommitInfo) UnmarshalProtoJSON

func (x *CommitInfo) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the CommitInfo message from JSON.

func (*CommitInfo) UnmarshalVT

func (m *CommitInfo) UnmarshalVT(dAtA []byte) error

type DiffFileStat

type DiffFileStat struct {

	// Path is the file path.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Additions is the number of added lines.
	Additions uint32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"`
	// Deletions is the number of deleted lines.
	Deletions uint32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"`
	// contains filtered or unexported fields
}

DiffFileStat contains line change stats for a single file.

func (*DiffFileStat) CloneMessageVT

func (m *DiffFileStat) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*DiffFileStat) CloneVT

func (m *DiffFileStat) CloneVT() *DiffFileStat

func (*DiffFileStat) EqualMessageVT

func (this *DiffFileStat) EqualMessageVT(thatMsg any) bool

func (*DiffFileStat) EqualVT

func (this *DiffFileStat) EqualVT(that *DiffFileStat) bool

func (*DiffFileStat) GetAdditions

func (x *DiffFileStat) GetAdditions() uint32

func (*DiffFileStat) GetDeletions

func (x *DiffFileStat) GetDeletions() uint32

func (*DiffFileStat) GetPath

func (x *DiffFileStat) GetPath() string

func (*DiffFileStat) MarshalJSON

func (x *DiffFileStat) MarshalJSON() ([]byte, error)

MarshalJSON marshals the DiffFileStat to JSON.

func (*DiffFileStat) MarshalProtoJSON

func (x *DiffFileStat) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the DiffFileStat message to JSON.

func (*DiffFileStat) MarshalProtoText

func (x *DiffFileStat) MarshalProtoText() string

func (*DiffFileStat) MarshalToSizedBufferVT

func (m *DiffFileStat) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DiffFileStat) MarshalToVT

func (m *DiffFileStat) MarshalToVT(dAtA []byte) (int, error)

func (*DiffFileStat) MarshalVT

func (m *DiffFileStat) MarshalVT() (dAtA []byte, err error)

func (*DiffFileStat) ProtoMessage

func (*DiffFileStat) ProtoMessage()

func (*DiffFileStat) Reset

func (x *DiffFileStat) Reset()

func (*DiffFileStat) SizeVT

func (m *DiffFileStat) SizeVT() (n int)

func (*DiffFileStat) String

func (x *DiffFileStat) String() string

func (*DiffFileStat) UnmarshalJSON

func (x *DiffFileStat) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the DiffFileStat from JSON.

func (*DiffFileStat) UnmarshalProtoJSON

func (x *DiffFileStat) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the DiffFileStat message from JSON.

func (*DiffFileStat) UnmarshalVT

func (m *DiffFileStat) UnmarshalVT(dAtA []byte) error

type FileStatusCode

type FileStatusCode int32

FileStatusCode maps directly to go-git's StatusCode.

const (
	// FILE_STATUS_CODE_UNMODIFIED indicates the file is unmodified.
	FileStatusCode_FILE_STATUS_CODE_UNMODIFIED FileStatusCode = 0
	// FILE_STATUS_CODE_UNTRACKED indicates the file is untracked.
	FileStatusCode_FILE_STATUS_CODE_UNTRACKED FileStatusCode = 1
	// FILE_STATUS_CODE_MODIFIED indicates the file is modified.
	FileStatusCode_FILE_STATUS_CODE_MODIFIED FileStatusCode = 2
	// FILE_STATUS_CODE_ADDED indicates the file is added.
	FileStatusCode_FILE_STATUS_CODE_ADDED FileStatusCode = 3
	// FILE_STATUS_CODE_DELETED indicates the file is deleted.
	FileStatusCode_FILE_STATUS_CODE_DELETED FileStatusCode = 4
	// FILE_STATUS_CODE_RENAMED indicates the file is renamed.
	FileStatusCode_FILE_STATUS_CODE_RENAMED FileStatusCode = 5
	// FILE_STATUS_CODE_COPIED indicates the file is copied.
	FileStatusCode_FILE_STATUS_CODE_COPIED FileStatusCode = 6
	// FILE_STATUS_CODE_UPDATED_BUT_UNMERGED indicates the file is updated but unmerged.
	FileStatusCode_FILE_STATUS_CODE_UPDATED_BUT_UNMERGED FileStatusCode = 7
)

func (FileStatusCode) Enum

func (x FileStatusCode) Enum() *FileStatusCode

func (FileStatusCode) MarshalJSON

func (x FileStatusCode) MarshalJSON() ([]byte, error)

MarshalJSON marshals the FileStatusCode to JSON.

func (FileStatusCode) MarshalProtoJSON

func (x FileStatusCode) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the FileStatusCode to JSON.

func (FileStatusCode) MarshalProtoText

func (x FileStatusCode) MarshalProtoText() string

func (FileStatusCode) MarshalText

func (x FileStatusCode) MarshalText() ([]byte, error)

MarshalText marshals the FileStatusCode to text.

func (FileStatusCode) String

func (x FileStatusCode) String() string

func (*FileStatusCode) UnmarshalJSON

func (x *FileStatusCode) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the FileStatusCode from JSON.

func (*FileStatusCode) UnmarshalProtoJSON

func (x *FileStatusCode) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the FileStatusCode from JSON.

func (*FileStatusCode) UnmarshalText

func (x *FileStatusCode) UnmarshalText(b []byte) error

UnmarshalText unmarshals the FileStatusCode from text.

type GetCommitRequest

type GetCommitRequest struct {

	// Hash is the commit hash to look up.
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

GetCommitRequest is the request for GetCommit.

func (*GetCommitRequest) CloneMessageVT

func (m *GetCommitRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*GetCommitRequest) CloneVT

func (m *GetCommitRequest) CloneVT() *GetCommitRequest

func (*GetCommitRequest) EqualMessageVT

func (this *GetCommitRequest) EqualMessageVT(thatMsg any) bool

func (*GetCommitRequest) EqualVT

func (this *GetCommitRequest) EqualVT(that *GetCommitRequest) bool

func (*GetCommitRequest) GetHash

func (x *GetCommitRequest) GetHash() string

func (*GetCommitRequest) MarshalJSON

func (x *GetCommitRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetCommitRequest to JSON.

func (*GetCommitRequest) MarshalProtoJSON

func (x *GetCommitRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetCommitRequest message to JSON.

func (*GetCommitRequest) MarshalProtoText

func (x *GetCommitRequest) MarshalProtoText() string

func (*GetCommitRequest) MarshalToSizedBufferVT

func (m *GetCommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetCommitRequest) MarshalToVT

func (m *GetCommitRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetCommitRequest) MarshalVT

func (m *GetCommitRequest) MarshalVT() (dAtA []byte, err error)

func (*GetCommitRequest) ProtoMessage

func (*GetCommitRequest) ProtoMessage()

func (*GetCommitRequest) Reset

func (x *GetCommitRequest) Reset()

func (*GetCommitRequest) SizeVT

func (m *GetCommitRequest) SizeVT() (n int)

func (*GetCommitRequest) String

func (x *GetCommitRequest) String() string

func (*GetCommitRequest) UnmarshalJSON

func (x *GetCommitRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetCommitRequest from JSON.

func (*GetCommitRequest) UnmarshalProtoJSON

func (x *GetCommitRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetCommitRequest message from JSON.

func (*GetCommitRequest) UnmarshalVT

func (m *GetCommitRequest) UnmarshalVT(dAtA []byte) error

type GetCommitResponse

type GetCommitResponse struct {

	// Commit is the full commit metadata.
	Commit *CommitInfo `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

GetCommitResponse is the response for GetCommit.

func (*GetCommitResponse) CloneMessageVT

func (m *GetCommitResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*GetCommitResponse) CloneVT

func (m *GetCommitResponse) CloneVT() *GetCommitResponse

func (*GetCommitResponse) EqualMessageVT

func (this *GetCommitResponse) EqualMessageVT(thatMsg any) bool

func (*GetCommitResponse) EqualVT

func (this *GetCommitResponse) EqualVT(that *GetCommitResponse) bool

func (*GetCommitResponse) GetCommit

func (x *GetCommitResponse) GetCommit() *CommitInfo

func (*GetCommitResponse) MarshalJSON

func (x *GetCommitResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetCommitResponse to JSON.

func (*GetCommitResponse) MarshalProtoJSON

func (x *GetCommitResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetCommitResponse message to JSON.

func (*GetCommitResponse) MarshalProtoText

func (x *GetCommitResponse) MarshalProtoText() string

func (*GetCommitResponse) MarshalToSizedBufferVT

func (m *GetCommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetCommitResponse) MarshalToVT

func (m *GetCommitResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetCommitResponse) MarshalVT

func (m *GetCommitResponse) MarshalVT() (dAtA []byte, err error)

func (*GetCommitResponse) ProtoMessage

func (*GetCommitResponse) ProtoMessage()

func (*GetCommitResponse) Reset

func (x *GetCommitResponse) Reset()

func (*GetCommitResponse) SizeVT

func (m *GetCommitResponse) SizeVT() (n int)

func (*GetCommitResponse) String

func (x *GetCommitResponse) String() string

func (*GetCommitResponse) UnmarshalJSON

func (x *GetCommitResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetCommitResponse from JSON.

func (*GetCommitResponse) UnmarshalProtoJSON

func (x *GetCommitResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetCommitResponse message from JSON.

func (*GetCommitResponse) UnmarshalVT

func (m *GetCommitResponse) UnmarshalVT(dAtA []byte) error

type GetDiffPatchRequest added in v0.51.2

type GetDiffPatchRequest struct {

	// RefA is the first ref (branch, tag, or commit hash).
	RefA string `protobuf:"bytes,1,opt,name=ref_a,json=refA,proto3" json:"refA,omitempty"`
	// RefB is the second ref. If empty, diffs against ref_a's parent.
	RefB string `protobuf:"bytes,2,opt,name=ref_b,json=refB,proto3" json:"refB,omitempty"`
	// contains filtered or unexported fields
}

GetDiffPatchRequest is the request for GetDiffPatch.

func (*GetDiffPatchRequest) CloneMessageVT added in v0.51.2

func (*GetDiffPatchRequest) CloneVT added in v0.51.2

func (*GetDiffPatchRequest) EqualMessageVT added in v0.51.2

func (this *GetDiffPatchRequest) EqualMessageVT(thatMsg any) bool

func (*GetDiffPatchRequest) EqualVT added in v0.51.2

func (this *GetDiffPatchRequest) EqualVT(that *GetDiffPatchRequest) bool

func (*GetDiffPatchRequest) GetRefA added in v0.51.2

func (x *GetDiffPatchRequest) GetRefA() string

func (*GetDiffPatchRequest) GetRefB added in v0.51.2

func (x *GetDiffPatchRequest) GetRefB() string

func (*GetDiffPatchRequest) MarshalJSON added in v0.51.2

func (x *GetDiffPatchRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetDiffPatchRequest to JSON.

func (*GetDiffPatchRequest) MarshalProtoJSON added in v0.51.2

func (x *GetDiffPatchRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetDiffPatchRequest message to JSON.

func (*GetDiffPatchRequest) MarshalProtoText added in v0.51.2

func (x *GetDiffPatchRequest) MarshalProtoText() string

func (*GetDiffPatchRequest) MarshalToSizedBufferVT added in v0.51.2

func (m *GetDiffPatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDiffPatchRequest) MarshalToVT added in v0.51.2

func (m *GetDiffPatchRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetDiffPatchRequest) MarshalVT added in v0.51.2

func (m *GetDiffPatchRequest) MarshalVT() (dAtA []byte, err error)

func (*GetDiffPatchRequest) ProtoMessage added in v0.51.2

func (*GetDiffPatchRequest) ProtoMessage()

func (*GetDiffPatchRequest) Reset added in v0.51.2

func (x *GetDiffPatchRequest) Reset()

func (*GetDiffPatchRequest) SizeVT added in v0.51.2

func (m *GetDiffPatchRequest) SizeVT() (n int)

func (*GetDiffPatchRequest) String added in v0.51.2

func (x *GetDiffPatchRequest) String() string

func (*GetDiffPatchRequest) UnmarshalJSON added in v0.51.2

func (x *GetDiffPatchRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetDiffPatchRequest from JSON.

func (*GetDiffPatchRequest) UnmarshalProtoJSON added in v0.51.2

func (x *GetDiffPatchRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetDiffPatchRequest message from JSON.

func (*GetDiffPatchRequest) UnmarshalVT added in v0.51.2

func (m *GetDiffPatchRequest) UnmarshalVT(dAtA []byte) error

type GetDiffPatchResponse added in v0.51.2

type GetDiffPatchResponse struct {

	// Patch is the unified diff patch text.
	Patch string `protobuf:"bytes,1,opt,name=patch,proto3" json:"patch,omitempty"`
	// contains filtered or unexported fields
}

GetDiffPatchResponse is the response for GetDiffPatch.

func (*GetDiffPatchResponse) CloneMessageVT added in v0.51.2

func (*GetDiffPatchResponse) CloneVT added in v0.51.2

func (*GetDiffPatchResponse) EqualMessageVT added in v0.51.2

func (this *GetDiffPatchResponse) EqualMessageVT(thatMsg any) bool

func (*GetDiffPatchResponse) EqualVT added in v0.51.2

func (this *GetDiffPatchResponse) EqualVT(that *GetDiffPatchResponse) bool

func (*GetDiffPatchResponse) GetPatch added in v0.51.2

func (x *GetDiffPatchResponse) GetPatch() string

func (*GetDiffPatchResponse) MarshalJSON added in v0.51.2

func (x *GetDiffPatchResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetDiffPatchResponse to JSON.

func (*GetDiffPatchResponse) MarshalProtoJSON added in v0.51.2

func (x *GetDiffPatchResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetDiffPatchResponse message to JSON.

func (*GetDiffPatchResponse) MarshalProtoText added in v0.51.2

func (x *GetDiffPatchResponse) MarshalProtoText() string

func (*GetDiffPatchResponse) MarshalToSizedBufferVT added in v0.51.2

func (m *GetDiffPatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDiffPatchResponse) MarshalToVT added in v0.51.2

func (m *GetDiffPatchResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetDiffPatchResponse) MarshalVT added in v0.51.2

func (m *GetDiffPatchResponse) MarshalVT() (dAtA []byte, err error)

func (*GetDiffPatchResponse) ProtoMessage added in v0.51.2

func (*GetDiffPatchResponse) ProtoMessage()

func (*GetDiffPatchResponse) Reset added in v0.51.2

func (x *GetDiffPatchResponse) Reset()

func (*GetDiffPatchResponse) SizeVT added in v0.51.2

func (m *GetDiffPatchResponse) SizeVT() (n int)

func (*GetDiffPatchResponse) String added in v0.51.2

func (x *GetDiffPatchResponse) String() string

func (*GetDiffPatchResponse) UnmarshalJSON added in v0.51.2

func (x *GetDiffPatchResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetDiffPatchResponse from JSON.

func (*GetDiffPatchResponse) UnmarshalProtoJSON added in v0.51.2

func (x *GetDiffPatchResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetDiffPatchResponse message from JSON.

func (*GetDiffPatchResponse) UnmarshalVT added in v0.51.2

func (m *GetDiffPatchResponse) UnmarshalVT(dAtA []byte) error

type GetDiffStatRequest

type GetDiffStatRequest struct {

	// RefA is the first ref (branch, tag, or commit hash).
	RefA string `protobuf:"bytes,1,opt,name=ref_a,json=refA,proto3" json:"refA,omitempty"`
	// RefB is the second ref. If empty, diffs against ref_a's parent.
	RefB string `protobuf:"bytes,2,opt,name=ref_b,json=refB,proto3" json:"refB,omitempty"`
	// contains filtered or unexported fields
}

GetDiffStatRequest is the request for GetDiffStat.

func (*GetDiffStatRequest) CloneMessageVT

func (m *GetDiffStatRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*GetDiffStatRequest) CloneVT

func (m *GetDiffStatRequest) CloneVT() *GetDiffStatRequest

func (*GetDiffStatRequest) EqualMessageVT

func (this *GetDiffStatRequest) EqualMessageVT(thatMsg any) bool

func (*GetDiffStatRequest) EqualVT

func (this *GetDiffStatRequest) EqualVT(that *GetDiffStatRequest) bool

func (*GetDiffStatRequest) GetRefA

func (x *GetDiffStatRequest) GetRefA() string

func (*GetDiffStatRequest) GetRefB

func (x *GetDiffStatRequest) GetRefB() string

func (*GetDiffStatRequest) MarshalJSON

func (x *GetDiffStatRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetDiffStatRequest to JSON.

func (*GetDiffStatRequest) MarshalProtoJSON

func (x *GetDiffStatRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetDiffStatRequest message to JSON.

func (*GetDiffStatRequest) MarshalProtoText

func (x *GetDiffStatRequest) MarshalProtoText() string

func (*GetDiffStatRequest) MarshalToSizedBufferVT

func (m *GetDiffStatRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDiffStatRequest) MarshalToVT

func (m *GetDiffStatRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetDiffStatRequest) MarshalVT

func (m *GetDiffStatRequest) MarshalVT() (dAtA []byte, err error)

func (*GetDiffStatRequest) ProtoMessage

func (*GetDiffStatRequest) ProtoMessage()

func (*GetDiffStatRequest) Reset

func (x *GetDiffStatRequest) Reset()

func (*GetDiffStatRequest) SizeVT

func (m *GetDiffStatRequest) SizeVT() (n int)

func (*GetDiffStatRequest) String

func (x *GetDiffStatRequest) String() string

func (*GetDiffStatRequest) UnmarshalJSON

func (x *GetDiffStatRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetDiffStatRequest from JSON.

func (*GetDiffStatRequest) UnmarshalProtoJSON

func (x *GetDiffStatRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetDiffStatRequest message from JSON.

func (*GetDiffStatRequest) UnmarshalVT

func (m *GetDiffStatRequest) UnmarshalVT(dAtA []byte) error

type GetDiffStatResponse

type GetDiffStatResponse struct {

	// Files is the list of changed files with stats.
	Files []*DiffFileStat `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	// TotalAdditions is the total number of added lines.
	TotalAdditions uint32 `protobuf:"varint,2,opt,name=total_additions,json=totalAdditions,proto3" json:"totalAdditions,omitempty"`
	// TotalDeletions is the total number of deleted lines.
	TotalDeletions uint32 `protobuf:"varint,3,opt,name=total_deletions,json=totalDeletions,proto3" json:"totalDeletions,omitempty"`
	// contains filtered or unexported fields
}

GetDiffStatResponse is the response for GetDiffStat.

func (*GetDiffStatResponse) CloneMessageVT

func (*GetDiffStatResponse) CloneVT

func (*GetDiffStatResponse) EqualMessageVT

func (this *GetDiffStatResponse) EqualMessageVT(thatMsg any) bool

func (*GetDiffStatResponse) EqualVT

func (this *GetDiffStatResponse) EqualVT(that *GetDiffStatResponse) bool

func (*GetDiffStatResponse) GetFiles

func (x *GetDiffStatResponse) GetFiles() []*DiffFileStat

func (*GetDiffStatResponse) GetTotalAdditions

func (x *GetDiffStatResponse) GetTotalAdditions() uint32

func (*GetDiffStatResponse) GetTotalDeletions

func (x *GetDiffStatResponse) GetTotalDeletions() uint32

func (*GetDiffStatResponse) MarshalJSON

func (x *GetDiffStatResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetDiffStatResponse to JSON.

func (*GetDiffStatResponse) MarshalProtoJSON

func (x *GetDiffStatResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetDiffStatResponse message to JSON.

func (*GetDiffStatResponse) MarshalProtoText

func (x *GetDiffStatResponse) MarshalProtoText() string

func (*GetDiffStatResponse) MarshalToSizedBufferVT

func (m *GetDiffStatResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetDiffStatResponse) MarshalToVT

func (m *GetDiffStatResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetDiffStatResponse) MarshalVT

func (m *GetDiffStatResponse) MarshalVT() (dAtA []byte, err error)

func (*GetDiffStatResponse) ProtoMessage

func (*GetDiffStatResponse) ProtoMessage()

func (*GetDiffStatResponse) Reset

func (x *GetDiffStatResponse) Reset()

func (*GetDiffStatResponse) SizeVT

func (m *GetDiffStatResponse) SizeVT() (n int)

func (*GetDiffStatResponse) String

func (x *GetDiffStatResponse) String() string

func (*GetDiffStatResponse) UnmarshalJSON

func (x *GetDiffStatResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetDiffStatResponse from JSON.

func (*GetDiffStatResponse) UnmarshalProtoJSON

func (x *GetDiffStatResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetDiffStatResponse message from JSON.

func (*GetDiffStatResponse) UnmarshalVT

func (m *GetDiffStatResponse) UnmarshalVT(dAtA []byte) error

type GetRepoFilesystemResourceRequest

type GetRepoFilesystemResourceRequest struct {

	// Writable requests writable repository filesystem capabilities.
	Writable bool `protobuf:"varint,1,opt,name=writable,proto3" json:"writable,omitempty"`
	// contains filtered or unexported fields
}

GetRepoFilesystemResourceRequest is the request for GetRepoFilesystemResource.

func (*GetRepoFilesystemResourceRequest) CloneMessageVT

func (*GetRepoFilesystemResourceRequest) CloneVT

func (*GetRepoFilesystemResourceRequest) EqualMessageVT

func (this *GetRepoFilesystemResourceRequest) EqualMessageVT(thatMsg any) bool

func (*GetRepoFilesystemResourceRequest) EqualVT

func (*GetRepoFilesystemResourceRequest) GetWritable

func (x *GetRepoFilesystemResourceRequest) GetWritable() bool

func (*GetRepoFilesystemResourceRequest) MarshalJSON

func (x *GetRepoFilesystemResourceRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetRepoFilesystemResourceRequest to JSON.

func (*GetRepoFilesystemResourceRequest) MarshalProtoJSON

func (x *GetRepoFilesystemResourceRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetRepoFilesystemResourceRequest message to JSON.

func (*GetRepoFilesystemResourceRequest) MarshalProtoText

func (x *GetRepoFilesystemResourceRequest) MarshalProtoText() string

func (*GetRepoFilesystemResourceRequest) MarshalToSizedBufferVT

func (m *GetRepoFilesystemResourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRepoFilesystemResourceRequest) MarshalToVT

func (m *GetRepoFilesystemResourceRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetRepoFilesystemResourceRequest) MarshalVT

func (m *GetRepoFilesystemResourceRequest) MarshalVT() (dAtA []byte, err error)

func (*GetRepoFilesystemResourceRequest) ProtoMessage

func (*GetRepoFilesystemResourceRequest) ProtoMessage()

func (*GetRepoFilesystemResourceRequest) Reset

func (*GetRepoFilesystemResourceRequest) SizeVT

func (m *GetRepoFilesystemResourceRequest) SizeVT() (n int)

func (*GetRepoFilesystemResourceRequest) String

func (*GetRepoFilesystemResourceRequest) UnmarshalJSON

func (x *GetRepoFilesystemResourceRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetRepoFilesystemResourceRequest from JSON.

func (*GetRepoFilesystemResourceRequest) UnmarshalProtoJSON

func (x *GetRepoFilesystemResourceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetRepoFilesystemResourceRequest message from JSON.

func (*GetRepoFilesystemResourceRequest) UnmarshalVT

func (m *GetRepoFilesystemResourceRequest) UnmarshalVT(dAtA []byte) error

type GetRepoFilesystemResourceResponse

type GetRepoFilesystemResourceResponse struct {

	// ResourceId is the ID of the FSHandle sub-resource for the repository filesystem.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

GetRepoFilesystemResourceResponse is the response for GetRepoFilesystemResource.

func (*GetRepoFilesystemResourceResponse) CloneMessageVT

func (*GetRepoFilesystemResourceResponse) CloneVT

func (*GetRepoFilesystemResourceResponse) EqualMessageVT

func (this *GetRepoFilesystemResourceResponse) EqualMessageVT(thatMsg any) bool

func (*GetRepoFilesystemResourceResponse) EqualVT

func (*GetRepoFilesystemResourceResponse) GetResourceId

func (x *GetRepoFilesystemResourceResponse) GetResourceId() uint32

func (*GetRepoFilesystemResourceResponse) MarshalJSON

func (x *GetRepoFilesystemResourceResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetRepoFilesystemResourceResponse to JSON.

func (*GetRepoFilesystemResourceResponse) MarshalProtoJSON

func (x *GetRepoFilesystemResourceResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetRepoFilesystemResourceResponse message to JSON.

func (*GetRepoFilesystemResourceResponse) MarshalProtoText

func (x *GetRepoFilesystemResourceResponse) MarshalProtoText() string

func (*GetRepoFilesystemResourceResponse) MarshalToSizedBufferVT

func (m *GetRepoFilesystemResourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRepoFilesystemResourceResponse) MarshalToVT

func (m *GetRepoFilesystemResourceResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetRepoFilesystemResourceResponse) MarshalVT

func (m *GetRepoFilesystemResourceResponse) MarshalVT() (dAtA []byte, err error)

func (*GetRepoFilesystemResourceResponse) ProtoMessage

func (*GetRepoFilesystemResourceResponse) ProtoMessage()

func (*GetRepoFilesystemResourceResponse) Reset

func (*GetRepoFilesystemResourceResponse) SizeVT

func (m *GetRepoFilesystemResourceResponse) SizeVT() (n int)

func (*GetRepoFilesystemResourceResponse) String

func (*GetRepoFilesystemResourceResponse) UnmarshalJSON

func (x *GetRepoFilesystemResourceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetRepoFilesystemResourceResponse from JSON.

func (*GetRepoFilesystemResourceResponse) UnmarshalProtoJSON

func (x *GetRepoFilesystemResourceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetRepoFilesystemResourceResponse message from JSON.

func (*GetRepoFilesystemResourceResponse) UnmarshalVT

func (m *GetRepoFilesystemResourceResponse) UnmarshalVT(dAtA []byte) error

type GetRepoInfoRequest

type GetRepoInfoRequest struct {
	// contains filtered or unexported fields
}

GetRepoInfoRequest is the request for GetRepoInfo.

func (*GetRepoInfoRequest) CloneMessageVT

func (m *GetRepoInfoRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*GetRepoInfoRequest) CloneVT

func (m *GetRepoInfoRequest) CloneVT() *GetRepoInfoRequest

func (*GetRepoInfoRequest) EqualMessageVT

func (this *GetRepoInfoRequest) EqualMessageVT(thatMsg any) bool

func (*GetRepoInfoRequest) EqualVT

func (this *GetRepoInfoRequest) EqualVT(that *GetRepoInfoRequest) bool

func (*GetRepoInfoRequest) MarshalJSON

func (x *GetRepoInfoRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetRepoInfoRequest to JSON.

func (*GetRepoInfoRequest) MarshalProtoJSON

func (x *GetRepoInfoRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetRepoInfoRequest message to JSON.

func (*GetRepoInfoRequest) MarshalProtoText

func (x *GetRepoInfoRequest) MarshalProtoText() string

func (*GetRepoInfoRequest) MarshalToSizedBufferVT

func (m *GetRepoInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRepoInfoRequest) MarshalToVT

func (m *GetRepoInfoRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetRepoInfoRequest) MarshalVT

func (m *GetRepoInfoRequest) MarshalVT() (dAtA []byte, err error)

func (*GetRepoInfoRequest) ProtoMessage

func (*GetRepoInfoRequest) ProtoMessage()

func (*GetRepoInfoRequest) Reset

func (x *GetRepoInfoRequest) Reset()

func (*GetRepoInfoRequest) SizeVT

func (m *GetRepoInfoRequest) SizeVT() (n int)

func (*GetRepoInfoRequest) String

func (x *GetRepoInfoRequest) String() string

func (*GetRepoInfoRequest) UnmarshalJSON

func (x *GetRepoInfoRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetRepoInfoRequest from JSON.

func (*GetRepoInfoRequest) UnmarshalProtoJSON

func (x *GetRepoInfoRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetRepoInfoRequest message from JSON.

func (*GetRepoInfoRequest) UnmarshalVT

func (m *GetRepoInfoRequest) UnmarshalVT(dAtA []byte) error

type GetRepoInfoResponse

type GetRepoInfoResponse struct {

	// HeadRef is the name of the reference HEAD points to.
	HeadRef string `protobuf:"bytes,1,opt,name=head_ref,json=headRef,proto3" json:"headRef,omitempty"`
	// HeadCommitHash is the commit hash HEAD resolves to.
	HeadCommitHash string `protobuf:"bytes,2,opt,name=head_commit_hash,json=headCommitHash,proto3" json:"headCommitHash,omitempty"`
	// ReadmePath is the path to the README file, if found.
	ReadmePath string `protobuf:"bytes,3,opt,name=readme_path,json=readmePath,proto3" json:"readmePath,omitempty"`
	// LastCommit contains info about the latest commit.
	LastCommit *CommitInfo `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"lastCommit,omitempty"`
	// IsEmpty is true if the repository has no commits.
	IsEmpty bool `protobuf:"varint,5,opt,name=is_empty,json=isEmpty,proto3" json:"isEmpty,omitempty"`
	// contains filtered or unexported fields
}

GetRepoInfoResponse is the response for GetRepoInfo.

func (*GetRepoInfoResponse) CloneMessageVT

func (*GetRepoInfoResponse) CloneVT

func (*GetRepoInfoResponse) EqualMessageVT

func (this *GetRepoInfoResponse) EqualMessageVT(thatMsg any) bool

func (*GetRepoInfoResponse) EqualVT

func (this *GetRepoInfoResponse) EqualVT(that *GetRepoInfoResponse) bool

func (*GetRepoInfoResponse) GetHeadCommitHash

func (x *GetRepoInfoResponse) GetHeadCommitHash() string

func (*GetRepoInfoResponse) GetHeadRef

func (x *GetRepoInfoResponse) GetHeadRef() string

func (*GetRepoInfoResponse) GetIsEmpty

func (x *GetRepoInfoResponse) GetIsEmpty() bool

func (*GetRepoInfoResponse) GetLastCommit

func (x *GetRepoInfoResponse) GetLastCommit() *CommitInfo

func (*GetRepoInfoResponse) GetReadmePath

func (x *GetRepoInfoResponse) GetReadmePath() string

func (*GetRepoInfoResponse) MarshalJSON

func (x *GetRepoInfoResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetRepoInfoResponse to JSON.

func (*GetRepoInfoResponse) MarshalProtoJSON

func (x *GetRepoInfoResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetRepoInfoResponse message to JSON.

func (*GetRepoInfoResponse) MarshalProtoText

func (x *GetRepoInfoResponse) MarshalProtoText() string

func (*GetRepoInfoResponse) MarshalToSizedBufferVT

func (m *GetRepoInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRepoInfoResponse) MarshalToVT

func (m *GetRepoInfoResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetRepoInfoResponse) MarshalVT

func (m *GetRepoInfoResponse) MarshalVT() (dAtA []byte, err error)

func (*GetRepoInfoResponse) ProtoMessage

func (*GetRepoInfoResponse) ProtoMessage()

func (*GetRepoInfoResponse) Reset

func (x *GetRepoInfoResponse) Reset()

func (*GetRepoInfoResponse) SizeVT

func (m *GetRepoInfoResponse) SizeVT() (n int)

func (*GetRepoInfoResponse) String

func (x *GetRepoInfoResponse) String() string

func (*GetRepoInfoResponse) UnmarshalJSON

func (x *GetRepoInfoResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetRepoInfoResponse from JSON.

func (*GetRepoInfoResponse) UnmarshalProtoJSON

func (x *GetRepoInfoResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetRepoInfoResponse message from JSON.

func (*GetRepoInfoResponse) UnmarshalVT

func (m *GetRepoInfoResponse) UnmarshalVT(dAtA []byte) error

type GetRepoResourceRequest

type GetRepoResourceRequest struct {
	// contains filtered or unexported fields
}

GetRepoResourceRequest is the request for GetRepoResource.

func (*GetRepoResourceRequest) CloneMessageVT

func (*GetRepoResourceRequest) CloneVT

func (*GetRepoResourceRequest) EqualMessageVT

func (this *GetRepoResourceRequest) EqualMessageVT(thatMsg any) bool

func (*GetRepoResourceRequest) EqualVT

func (this *GetRepoResourceRequest) EqualVT(that *GetRepoResourceRequest) bool

func (*GetRepoResourceRequest) MarshalJSON

func (x *GetRepoResourceRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetRepoResourceRequest to JSON.

func (*GetRepoResourceRequest) MarshalProtoJSON

func (x *GetRepoResourceRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetRepoResourceRequest message to JSON.

func (*GetRepoResourceRequest) MarshalProtoText

func (x *GetRepoResourceRequest) MarshalProtoText() string

func (*GetRepoResourceRequest) MarshalToSizedBufferVT

func (m *GetRepoResourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRepoResourceRequest) MarshalToVT

func (m *GetRepoResourceRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetRepoResourceRequest) MarshalVT

func (m *GetRepoResourceRequest) MarshalVT() (dAtA []byte, err error)

func (*GetRepoResourceRequest) ProtoMessage

func (*GetRepoResourceRequest) ProtoMessage()

func (*GetRepoResourceRequest) Reset

func (x *GetRepoResourceRequest) Reset()

func (*GetRepoResourceRequest) SizeVT

func (m *GetRepoResourceRequest) SizeVT() (n int)

func (*GetRepoResourceRequest) String

func (x *GetRepoResourceRequest) String() string

func (*GetRepoResourceRequest) UnmarshalJSON

func (x *GetRepoResourceRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetRepoResourceRequest from JSON.

func (*GetRepoResourceRequest) UnmarshalProtoJSON

func (x *GetRepoResourceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetRepoResourceRequest message from JSON.

func (*GetRepoResourceRequest) UnmarshalVT

func (m *GetRepoResourceRequest) UnmarshalVT(dAtA []byte) error

type GetRepoResourceResponse

type GetRepoResourceResponse struct {

	// ResourceId is the sub-resource for the GitRepoResource.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

GetRepoResourceResponse is the response for GetRepoResource.

func (*GetRepoResourceResponse) CloneMessageVT

func (*GetRepoResourceResponse) CloneVT

func (*GetRepoResourceResponse) EqualMessageVT

func (this *GetRepoResourceResponse) EqualMessageVT(thatMsg any) bool

func (*GetRepoResourceResponse) EqualVT

func (*GetRepoResourceResponse) GetResourceId

func (x *GetRepoResourceResponse) GetResourceId() uint32

func (*GetRepoResourceResponse) MarshalJSON

func (x *GetRepoResourceResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetRepoResourceResponse to JSON.

func (*GetRepoResourceResponse) MarshalProtoJSON

func (x *GetRepoResourceResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetRepoResourceResponse message to JSON.

func (*GetRepoResourceResponse) MarshalProtoText

func (x *GetRepoResourceResponse) MarshalProtoText() string

func (*GetRepoResourceResponse) MarshalToSizedBufferVT

func (m *GetRepoResourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRepoResourceResponse) MarshalToVT

func (m *GetRepoResourceResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetRepoResourceResponse) MarshalVT

func (m *GetRepoResourceResponse) MarshalVT() (dAtA []byte, err error)

func (*GetRepoResourceResponse) ProtoMessage

func (*GetRepoResourceResponse) ProtoMessage()

func (*GetRepoResourceResponse) Reset

func (x *GetRepoResourceResponse) Reset()

func (*GetRepoResourceResponse) SizeVT

func (m *GetRepoResourceResponse) SizeVT() (n int)

func (*GetRepoResourceResponse) String

func (x *GetRepoResourceResponse) String() string

func (*GetRepoResourceResponse) UnmarshalJSON

func (x *GetRepoResourceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetRepoResourceResponse from JSON.

func (*GetRepoResourceResponse) UnmarshalProtoJSON

func (x *GetRepoResourceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetRepoResourceResponse message from JSON.

func (*GetRepoResourceResponse) UnmarshalVT

func (m *GetRepoResourceResponse) UnmarshalVT(dAtA []byte) error

type GetTreeResourceRequest

type GetTreeResourceRequest struct {

	// RefName is the branch/tag/commit to get the tree for.
	// Empty means HEAD.
	RefName string `protobuf:"bytes,1,opt,name=ref_name,json=refName,proto3" json:"refName,omitempty"`
	// contains filtered or unexported fields
}

GetTreeResourceRequest is the request for GetTreeResource.

func (*GetTreeResourceRequest) CloneMessageVT

func (*GetTreeResourceRequest) CloneVT

func (*GetTreeResourceRequest) EqualMessageVT

func (this *GetTreeResourceRequest) EqualMessageVT(thatMsg any) bool

func (*GetTreeResourceRequest) EqualVT

func (this *GetTreeResourceRequest) EqualVT(that *GetTreeResourceRequest) bool

func (*GetTreeResourceRequest) GetRefName

func (x *GetTreeResourceRequest) GetRefName() string

func (*GetTreeResourceRequest) MarshalJSON

func (x *GetTreeResourceRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetTreeResourceRequest to JSON.

func (*GetTreeResourceRequest) MarshalProtoJSON

func (x *GetTreeResourceRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetTreeResourceRequest message to JSON.

func (*GetTreeResourceRequest) MarshalProtoText

func (x *GetTreeResourceRequest) MarshalProtoText() string

func (*GetTreeResourceRequest) MarshalToSizedBufferVT

func (m *GetTreeResourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetTreeResourceRequest) MarshalToVT

func (m *GetTreeResourceRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetTreeResourceRequest) MarshalVT

func (m *GetTreeResourceRequest) MarshalVT() (dAtA []byte, err error)

func (*GetTreeResourceRequest) ProtoMessage

func (*GetTreeResourceRequest) ProtoMessage()

func (*GetTreeResourceRequest) Reset

func (x *GetTreeResourceRequest) Reset()

func (*GetTreeResourceRequest) SizeVT

func (m *GetTreeResourceRequest) SizeVT() (n int)

func (*GetTreeResourceRequest) String

func (x *GetTreeResourceRequest) String() string

func (*GetTreeResourceRequest) UnmarshalJSON

func (x *GetTreeResourceRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetTreeResourceRequest from JSON.

func (*GetTreeResourceRequest) UnmarshalProtoJSON

func (x *GetTreeResourceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetTreeResourceRequest message from JSON.

func (*GetTreeResourceRequest) UnmarshalVT

func (m *GetTreeResourceRequest) UnmarshalVT(dAtA []byte) error

type GetTreeResourceResponse

type GetTreeResourceResponse struct {

	// ResourceId is the ID of the FSHandle sub-resource for the tree.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

GetTreeResourceResponse is the response for GetTreeResource.

func (*GetTreeResourceResponse) CloneMessageVT

func (*GetTreeResourceResponse) CloneVT

func (*GetTreeResourceResponse) EqualMessageVT

func (this *GetTreeResourceResponse) EqualMessageVT(thatMsg any) bool

func (*GetTreeResourceResponse) EqualVT

func (*GetTreeResourceResponse) GetResourceId

func (x *GetTreeResourceResponse) GetResourceId() uint32

func (*GetTreeResourceResponse) MarshalJSON

func (x *GetTreeResourceResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetTreeResourceResponse to JSON.

func (*GetTreeResourceResponse) MarshalProtoJSON

func (x *GetTreeResourceResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetTreeResourceResponse message to JSON.

func (*GetTreeResourceResponse) MarshalProtoText

func (x *GetTreeResourceResponse) MarshalProtoText() string

func (*GetTreeResourceResponse) MarshalToSizedBufferVT

func (m *GetTreeResourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetTreeResourceResponse) MarshalToVT

func (m *GetTreeResourceResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetTreeResourceResponse) MarshalVT

func (m *GetTreeResourceResponse) MarshalVT() (dAtA []byte, err error)

func (*GetTreeResourceResponse) ProtoMessage

func (*GetTreeResourceResponse) ProtoMessage()

func (*GetTreeResourceResponse) Reset

func (x *GetTreeResourceResponse) Reset()

func (*GetTreeResourceResponse) SizeVT

func (m *GetTreeResourceResponse) SizeVT() (n int)

func (*GetTreeResourceResponse) String

func (x *GetTreeResourceResponse) String() string

func (*GetTreeResourceResponse) UnmarshalJSON

func (x *GetTreeResourceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetTreeResourceResponse from JSON.

func (*GetTreeResourceResponse) UnmarshalProtoJSON

func (x *GetTreeResourceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetTreeResourceResponse message from JSON.

func (*GetTreeResourceResponse) UnmarshalVT

func (m *GetTreeResourceResponse) UnmarshalVT(dAtA []byte) error

type GetWorkdirResourceRequest

type GetWorkdirResourceRequest struct {
	// contains filtered or unexported fields
}

GetWorkdirResourceRequest is the request for GetWorkdirResource.

func (*GetWorkdirResourceRequest) CloneMessageVT

func (*GetWorkdirResourceRequest) CloneVT

func (*GetWorkdirResourceRequest) EqualMessageVT

func (this *GetWorkdirResourceRequest) EqualMessageVT(thatMsg any) bool

func (*GetWorkdirResourceRequest) EqualVT

func (*GetWorkdirResourceRequest) MarshalJSON

func (x *GetWorkdirResourceRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetWorkdirResourceRequest to JSON.

func (*GetWorkdirResourceRequest) MarshalProtoJSON

func (x *GetWorkdirResourceRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetWorkdirResourceRequest message to JSON.

func (*GetWorkdirResourceRequest) MarshalProtoText

func (x *GetWorkdirResourceRequest) MarshalProtoText() string

func (*GetWorkdirResourceRequest) MarshalToSizedBufferVT

func (m *GetWorkdirResourceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetWorkdirResourceRequest) MarshalToVT

func (m *GetWorkdirResourceRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetWorkdirResourceRequest) MarshalVT

func (m *GetWorkdirResourceRequest) MarshalVT() (dAtA []byte, err error)

func (*GetWorkdirResourceRequest) ProtoMessage

func (*GetWorkdirResourceRequest) ProtoMessage()

func (*GetWorkdirResourceRequest) Reset

func (x *GetWorkdirResourceRequest) Reset()

func (*GetWorkdirResourceRequest) SizeVT

func (m *GetWorkdirResourceRequest) SizeVT() (n int)

func (*GetWorkdirResourceRequest) String

func (x *GetWorkdirResourceRequest) String() string

func (*GetWorkdirResourceRequest) UnmarshalJSON

func (x *GetWorkdirResourceRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetWorkdirResourceRequest from JSON.

func (*GetWorkdirResourceRequest) UnmarshalProtoJSON

func (x *GetWorkdirResourceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetWorkdirResourceRequest message from JSON.

func (*GetWorkdirResourceRequest) UnmarshalVT

func (m *GetWorkdirResourceRequest) UnmarshalVT(dAtA []byte) error

type GetWorkdirResourceResponse

type GetWorkdirResourceResponse struct {

	// ResourceId is the FSHandle sub-resource for the workdir.
	ResourceId uint32 `protobuf:"varint,1,opt,name=resource_id,json=resourceId,proto3" json:"resourceId,omitempty"`
	// contains filtered or unexported fields
}

GetWorkdirResourceResponse is the response for GetWorkdirResource.

func (*GetWorkdirResourceResponse) CloneMessageVT

func (*GetWorkdirResourceResponse) CloneVT

func (*GetWorkdirResourceResponse) EqualMessageVT

func (this *GetWorkdirResourceResponse) EqualMessageVT(thatMsg any) bool

func (*GetWorkdirResourceResponse) EqualVT

func (*GetWorkdirResourceResponse) GetResourceId

func (x *GetWorkdirResourceResponse) GetResourceId() uint32

func (*GetWorkdirResourceResponse) MarshalJSON

func (x *GetWorkdirResourceResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetWorkdirResourceResponse to JSON.

func (*GetWorkdirResourceResponse) MarshalProtoJSON

func (x *GetWorkdirResourceResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetWorkdirResourceResponse message to JSON.

func (*GetWorkdirResourceResponse) MarshalProtoText

func (x *GetWorkdirResourceResponse) MarshalProtoText() string

func (*GetWorkdirResourceResponse) MarshalToSizedBufferVT

func (m *GetWorkdirResourceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetWorkdirResourceResponse) MarshalToVT

func (m *GetWorkdirResourceResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetWorkdirResourceResponse) MarshalVT

func (m *GetWorkdirResourceResponse) MarshalVT() (dAtA []byte, err error)

func (*GetWorkdirResourceResponse) ProtoMessage

func (*GetWorkdirResourceResponse) ProtoMessage()

func (*GetWorkdirResourceResponse) Reset

func (x *GetWorkdirResourceResponse) Reset()

func (*GetWorkdirResourceResponse) SizeVT

func (m *GetWorkdirResourceResponse) SizeVT() (n int)

func (*GetWorkdirResourceResponse) String

func (x *GetWorkdirResourceResponse) String() string

func (*GetWorkdirResourceResponse) UnmarshalJSON

func (x *GetWorkdirResourceResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetWorkdirResourceResponse from JSON.

func (*GetWorkdirResourceResponse) UnmarshalProtoJSON

func (x *GetWorkdirResourceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetWorkdirResourceResponse message from JSON.

func (*GetWorkdirResourceResponse) UnmarshalVT

func (m *GetWorkdirResourceResponse) UnmarshalVT(dAtA []byte) error

type GetWorktreeInfoRequest

type GetWorktreeInfoRequest struct {
	// contains filtered or unexported fields
}

GetWorktreeInfoRequest is the request for GetWorktreeInfo.

func (*GetWorktreeInfoRequest) CloneMessageVT

func (*GetWorktreeInfoRequest) CloneVT

func (*GetWorktreeInfoRequest) EqualMessageVT

func (this *GetWorktreeInfoRequest) EqualMessageVT(thatMsg any) bool

func (*GetWorktreeInfoRequest) EqualVT

func (this *GetWorktreeInfoRequest) EqualVT(that *GetWorktreeInfoRequest) bool

func (*GetWorktreeInfoRequest) MarshalJSON

func (x *GetWorktreeInfoRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetWorktreeInfoRequest to JSON.

func (*GetWorktreeInfoRequest) MarshalProtoJSON

func (x *GetWorktreeInfoRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetWorktreeInfoRequest message to JSON.

func (*GetWorktreeInfoRequest) MarshalProtoText

func (x *GetWorktreeInfoRequest) MarshalProtoText() string

func (*GetWorktreeInfoRequest) MarshalToSizedBufferVT

func (m *GetWorktreeInfoRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetWorktreeInfoRequest) MarshalToVT

func (m *GetWorktreeInfoRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetWorktreeInfoRequest) MarshalVT

func (m *GetWorktreeInfoRequest) MarshalVT() (dAtA []byte, err error)

func (*GetWorktreeInfoRequest) ProtoMessage

func (*GetWorktreeInfoRequest) ProtoMessage()

func (*GetWorktreeInfoRequest) Reset

func (x *GetWorktreeInfoRequest) Reset()

func (*GetWorktreeInfoRequest) SizeVT

func (m *GetWorktreeInfoRequest) SizeVT() (n int)

func (*GetWorktreeInfoRequest) String

func (x *GetWorktreeInfoRequest) String() string

func (*GetWorktreeInfoRequest) UnmarshalJSON

func (x *GetWorktreeInfoRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetWorktreeInfoRequest from JSON.

func (*GetWorktreeInfoRequest) UnmarshalProtoJSON

func (x *GetWorktreeInfoRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetWorktreeInfoRequest message from JSON.

func (*GetWorktreeInfoRequest) UnmarshalVT

func (m *GetWorktreeInfoRequest) UnmarshalVT(dAtA []byte) error

type GetWorktreeInfoResponse

type GetWorktreeInfoResponse struct {

	// RepoObjectKey is the object key of the linked git/repo.
	RepoObjectKey string `protobuf:"bytes,1,opt,name=repo_object_key,json=repoObjectKey,proto3" json:"repoObjectKey,omitempty"`
	// WorkdirObjectKey is the object key of the linked workdir.
	// Empty if no workdir is linked.
	WorkdirObjectKey string `protobuf:"bytes,2,opt,name=workdir_object_key,json=workdirObjectKey,proto3" json:"workdirObjectKey,omitempty"`
	// CheckedOutRef is the ref the worktree has checked out.
	CheckedOutRef string `protobuf:"bytes,3,opt,name=checked_out_ref,json=checkedOutRef,proto3" json:"checkedOutRef,omitempty"`
	// HeadCommitHash is the commit hash of the checked-out ref.
	HeadCommitHash string `protobuf:"bytes,4,opt,name=head_commit_hash,json=headCommitHash,proto3" json:"headCommitHash,omitempty"`
	// HasWorkdir is true if a workdir is linked.
	HasWorkdir bool `protobuf:"varint,5,opt,name=has_workdir,json=hasWorkdir,proto3" json:"hasWorkdir,omitempty"`
	// contains filtered or unexported fields
}

GetWorktreeInfoResponse is the response for GetWorktreeInfo.

func (*GetWorktreeInfoResponse) CloneMessageVT

func (*GetWorktreeInfoResponse) CloneVT

func (*GetWorktreeInfoResponse) EqualMessageVT

func (this *GetWorktreeInfoResponse) EqualMessageVT(thatMsg any) bool

func (*GetWorktreeInfoResponse) EqualVT

func (*GetWorktreeInfoResponse) GetCheckedOutRef

func (x *GetWorktreeInfoResponse) GetCheckedOutRef() string

func (*GetWorktreeInfoResponse) GetHasWorkdir

func (x *GetWorktreeInfoResponse) GetHasWorkdir() bool

func (*GetWorktreeInfoResponse) GetHeadCommitHash

func (x *GetWorktreeInfoResponse) GetHeadCommitHash() string

func (*GetWorktreeInfoResponse) GetRepoObjectKey

func (x *GetWorktreeInfoResponse) GetRepoObjectKey() string

func (*GetWorktreeInfoResponse) GetWorkdirObjectKey

func (x *GetWorktreeInfoResponse) GetWorkdirObjectKey() string

func (*GetWorktreeInfoResponse) MarshalJSON

func (x *GetWorktreeInfoResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the GetWorktreeInfoResponse to JSON.

func (*GetWorktreeInfoResponse) MarshalProtoJSON

func (x *GetWorktreeInfoResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the GetWorktreeInfoResponse message to JSON.

func (*GetWorktreeInfoResponse) MarshalProtoText

func (x *GetWorktreeInfoResponse) MarshalProtoText() string

func (*GetWorktreeInfoResponse) MarshalToSizedBufferVT

func (m *GetWorktreeInfoResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetWorktreeInfoResponse) MarshalToVT

func (m *GetWorktreeInfoResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetWorktreeInfoResponse) MarshalVT

func (m *GetWorktreeInfoResponse) MarshalVT() (dAtA []byte, err error)

func (*GetWorktreeInfoResponse) ProtoMessage

func (*GetWorktreeInfoResponse) ProtoMessage()

func (*GetWorktreeInfoResponse) Reset

func (x *GetWorktreeInfoResponse) Reset()

func (*GetWorktreeInfoResponse) SizeVT

func (m *GetWorktreeInfoResponse) SizeVT() (n int)

func (*GetWorktreeInfoResponse) String

func (x *GetWorktreeInfoResponse) String() string

func (*GetWorktreeInfoResponse) UnmarshalJSON

func (x *GetWorktreeInfoResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the GetWorktreeInfoResponse from JSON.

func (*GetWorktreeInfoResponse) UnmarshalProtoJSON

func (x *GetWorktreeInfoResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the GetWorktreeInfoResponse message from JSON.

func (*GetWorktreeInfoResponse) UnmarshalVT

func (m *GetWorktreeInfoResponse) UnmarshalVT(dAtA []byte) error

type ListRefsRequest

type ListRefsRequest struct {
	// contains filtered or unexported fields
}

ListRefsRequest is the request for ListRefs.

func (*ListRefsRequest) CloneMessageVT

func (m *ListRefsRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ListRefsRequest) CloneVT

func (m *ListRefsRequest) CloneVT() *ListRefsRequest

func (*ListRefsRequest) EqualMessageVT

func (this *ListRefsRequest) EqualMessageVT(thatMsg any) bool

func (*ListRefsRequest) EqualVT

func (this *ListRefsRequest) EqualVT(that *ListRefsRequest) bool

func (*ListRefsRequest) MarshalJSON

func (x *ListRefsRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ListRefsRequest to JSON.

func (*ListRefsRequest) MarshalProtoJSON

func (x *ListRefsRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ListRefsRequest message to JSON.

func (*ListRefsRequest) MarshalProtoText

func (x *ListRefsRequest) MarshalProtoText() string

func (*ListRefsRequest) MarshalToSizedBufferVT

func (m *ListRefsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ListRefsRequest) MarshalToVT

func (m *ListRefsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ListRefsRequest) MarshalVT

func (m *ListRefsRequest) MarshalVT() (dAtA []byte, err error)

func (*ListRefsRequest) ProtoMessage

func (*ListRefsRequest) ProtoMessage()

func (*ListRefsRequest) Reset

func (x *ListRefsRequest) Reset()

func (*ListRefsRequest) SizeVT

func (m *ListRefsRequest) SizeVT() (n int)

func (*ListRefsRequest) String

func (x *ListRefsRequest) String() string

func (*ListRefsRequest) UnmarshalJSON

func (x *ListRefsRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ListRefsRequest from JSON.

func (*ListRefsRequest) UnmarshalProtoJSON

func (x *ListRefsRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ListRefsRequest message from JSON.

func (*ListRefsRequest) UnmarshalVT

func (m *ListRefsRequest) UnmarshalVT(dAtA []byte) error

type ListRefsResponse

type ListRefsResponse struct {

	// Branches is the list of branch references.
	Branches []*RefInfo `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
	// Tags is the list of tag references.
	Tags []*RefInfo `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// HeadRef is the name of the reference HEAD points to.
	HeadRef string `protobuf:"bytes,3,opt,name=head_ref,json=headRef,proto3" json:"headRef,omitempty"`
	// contains filtered or unexported fields
}

ListRefsResponse is the response for ListRefs.

func (*ListRefsResponse) CloneMessageVT

func (m *ListRefsResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ListRefsResponse) CloneVT

func (m *ListRefsResponse) CloneVT() *ListRefsResponse

func (*ListRefsResponse) EqualMessageVT

func (this *ListRefsResponse) EqualMessageVT(thatMsg any) bool

func (*ListRefsResponse) EqualVT

func (this *ListRefsResponse) EqualVT(that *ListRefsResponse) bool

func (*ListRefsResponse) GetBranches

func (x *ListRefsResponse) GetBranches() []*RefInfo

func (*ListRefsResponse) GetHeadRef

func (x *ListRefsResponse) GetHeadRef() string

func (*ListRefsResponse) GetTags

func (x *ListRefsResponse) GetTags() []*RefInfo

func (*ListRefsResponse) MarshalJSON

func (x *ListRefsResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ListRefsResponse to JSON.

func (*ListRefsResponse) MarshalProtoJSON

func (x *ListRefsResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ListRefsResponse message to JSON.

func (*ListRefsResponse) MarshalProtoText

func (x *ListRefsResponse) MarshalProtoText() string

func (*ListRefsResponse) MarshalToSizedBufferVT

func (m *ListRefsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ListRefsResponse) MarshalToVT

func (m *ListRefsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ListRefsResponse) MarshalVT

func (m *ListRefsResponse) MarshalVT() (dAtA []byte, err error)

func (*ListRefsResponse) ProtoMessage

func (*ListRefsResponse) ProtoMessage()

func (*ListRefsResponse) Reset

func (x *ListRefsResponse) Reset()

func (*ListRefsResponse) SizeVT

func (m *ListRefsResponse) SizeVT() (n int)

func (*ListRefsResponse) String

func (x *ListRefsResponse) String() string

func (*ListRefsResponse) UnmarshalJSON

func (x *ListRefsResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ListRefsResponse from JSON.

func (*ListRefsResponse) UnmarshalProtoJSON

func (x *ListRefsResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ListRefsResponse message from JSON.

func (*ListRefsResponse) UnmarshalVT

func (m *ListRefsResponse) UnmarshalVT(dAtA []byte) error

type LogRequest

type LogRequest struct {

	// RefName is the branch/tag/commit to start from. Empty means HEAD.
	RefName string `protobuf:"bytes,1,opt,name=ref_name,json=refName,proto3" json:"refName,omitempty"`
	// Offset is the number of commits to skip.
	Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// Limit is the maximum number of commits to return. Default 50.
	Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// SinceRef filters to commits reachable from ref_name but not from since_ref.
	SinceRef string `protobuf:"bytes,4,opt,name=since_ref,json=sinceRef,proto3" json:"sinceRef,omitempty"`
	// contains filtered or unexported fields
}

LogRequest is the request for Log.

func (*LogRequest) CloneMessageVT

func (m *LogRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LogRequest) CloneVT

func (m *LogRequest) CloneVT() *LogRequest

func (*LogRequest) EqualMessageVT

func (this *LogRequest) EqualMessageVT(thatMsg any) bool

func (*LogRequest) EqualVT

func (this *LogRequest) EqualVT(that *LogRequest) bool

func (*LogRequest) GetLimit

func (x *LogRequest) GetLimit() uint32

func (*LogRequest) GetOffset

func (x *LogRequest) GetOffset() uint32

func (*LogRequest) GetRefName

func (x *LogRequest) GetRefName() string

func (*LogRequest) GetSinceRef

func (x *LogRequest) GetSinceRef() string

func (*LogRequest) MarshalJSON

func (x *LogRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the LogRequest to JSON.

func (*LogRequest) MarshalProtoJSON

func (x *LogRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the LogRequest message to JSON.

func (*LogRequest) MarshalProtoText

func (x *LogRequest) MarshalProtoText() string

func (*LogRequest) MarshalToSizedBufferVT

func (m *LogRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LogRequest) MarshalToVT

func (m *LogRequest) MarshalToVT(dAtA []byte) (int, error)

func (*LogRequest) MarshalVT

func (m *LogRequest) MarshalVT() (dAtA []byte, err error)

func (*LogRequest) ProtoMessage

func (*LogRequest) ProtoMessage()

func (*LogRequest) Reset

func (x *LogRequest) Reset()

func (*LogRequest) SizeVT

func (m *LogRequest) SizeVT() (n int)

func (*LogRequest) String

func (x *LogRequest) String() string

func (*LogRequest) UnmarshalJSON

func (x *LogRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the LogRequest from JSON.

func (*LogRequest) UnmarshalProtoJSON

func (x *LogRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the LogRequest message from JSON.

func (*LogRequest) UnmarshalVT

func (m *LogRequest) UnmarshalVT(dAtA []byte) error

type LogResponse

type LogResponse struct {

	// Commits is the list of commits in reverse chronological order.
	Commits []*CommitInfo `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
	// HasMore is true if there are more commits beyond offset+limit.
	HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"hasMore,omitempty"`
	// contains filtered or unexported fields
}

LogResponse is the response for Log.

func (*LogResponse) CloneMessageVT

func (m *LogResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*LogResponse) CloneVT

func (m *LogResponse) CloneVT() *LogResponse

func (*LogResponse) EqualMessageVT

func (this *LogResponse) EqualMessageVT(thatMsg any) bool

func (*LogResponse) EqualVT

func (this *LogResponse) EqualVT(that *LogResponse) bool

func (*LogResponse) GetCommits

func (x *LogResponse) GetCommits() []*CommitInfo

func (*LogResponse) GetHasMore

func (x *LogResponse) GetHasMore() bool

func (*LogResponse) MarshalJSON

func (x *LogResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the LogResponse to JSON.

func (*LogResponse) MarshalProtoJSON

func (x *LogResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the LogResponse message to JSON.

func (*LogResponse) MarshalProtoText

func (x *LogResponse) MarshalProtoText() string

func (*LogResponse) MarshalToSizedBufferVT

func (m *LogResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*LogResponse) MarshalToVT

func (m *LogResponse) MarshalToVT(dAtA []byte) (int, error)

func (*LogResponse) MarshalVT

func (m *LogResponse) MarshalVT() (dAtA []byte, err error)

func (*LogResponse) ProtoMessage

func (*LogResponse) ProtoMessage()

func (*LogResponse) Reset

func (x *LogResponse) Reset()

func (*LogResponse) SizeVT

func (m *LogResponse) SizeVT() (n int)

func (*LogResponse) String

func (x *LogResponse) String() string

func (*LogResponse) UnmarshalJSON

func (x *LogResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the LogResponse from JSON.

func (*LogResponse) UnmarshalProtoJSON

func (x *LogResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the LogResponse message from JSON.

func (*LogResponse) UnmarshalVT

func (m *LogResponse) UnmarshalVT(dAtA []byte) error

type RefInfo

type RefInfo struct {

	// Name is the short name of the reference.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// CommitHash is the hash of the commit this reference points to.
	CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commitHash,omitempty"`
	// IsHead is true if this is the HEAD ref.
	IsHead bool `protobuf:"varint,3,opt,name=is_head,json=isHead,proto3" json:"isHead,omitempty"`
	// contains filtered or unexported fields
}

RefInfo contains information about a git reference.

func (*RefInfo) CloneMessageVT

func (m *RefInfo) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*RefInfo) CloneVT

func (m *RefInfo) CloneVT() *RefInfo

func (*RefInfo) EqualMessageVT

func (this *RefInfo) EqualMessageVT(thatMsg any) bool

func (*RefInfo) EqualVT

func (this *RefInfo) EqualVT(that *RefInfo) bool

func (*RefInfo) GetCommitHash

func (x *RefInfo) GetCommitHash() string

func (*RefInfo) GetIsHead

func (x *RefInfo) GetIsHead() bool

func (*RefInfo) GetName

func (x *RefInfo) GetName() string

func (*RefInfo) MarshalJSON

func (x *RefInfo) MarshalJSON() ([]byte, error)

MarshalJSON marshals the RefInfo to JSON.

func (*RefInfo) MarshalProtoJSON

func (x *RefInfo) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the RefInfo message to JSON.

func (*RefInfo) MarshalProtoText

func (x *RefInfo) MarshalProtoText() string

func (*RefInfo) MarshalToSizedBufferVT

func (m *RefInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RefInfo) MarshalToVT

func (m *RefInfo) MarshalToVT(dAtA []byte) (int, error)

func (*RefInfo) MarshalVT

func (m *RefInfo) MarshalVT() (dAtA []byte, err error)

func (*RefInfo) ProtoMessage

func (*RefInfo) ProtoMessage()

func (*RefInfo) Reset

func (x *RefInfo) Reset()

func (*RefInfo) SizeVT

func (m *RefInfo) SizeVT() (n int)

func (*RefInfo) String

func (x *RefInfo) String() string

func (*RefInfo) UnmarshalJSON

func (x *RefInfo) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the RefInfo from JSON.

func (*RefInfo) UnmarshalProtoJSON

func (x *RefInfo) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the RefInfo message from JSON.

func (*RefInfo) UnmarshalVT

func (m *RefInfo) UnmarshalVT(dAtA []byte) error

type ResolveRefRequest

type ResolveRefRequest struct {

	// RefName is the reference name to resolve.
	RefName string `protobuf:"bytes,1,opt,name=ref_name,json=refName,proto3" json:"refName,omitempty"`
	// contains filtered or unexported fields
}

ResolveRefRequest is the request for ResolveRef.

func (*ResolveRefRequest) CloneMessageVT

func (m *ResolveRefRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ResolveRefRequest) CloneVT

func (m *ResolveRefRequest) CloneVT() *ResolveRefRequest

func (*ResolveRefRequest) EqualMessageVT

func (this *ResolveRefRequest) EqualMessageVT(thatMsg any) bool

func (*ResolveRefRequest) EqualVT

func (this *ResolveRefRequest) EqualVT(that *ResolveRefRequest) bool

func (*ResolveRefRequest) GetRefName

func (x *ResolveRefRequest) GetRefName() string

func (*ResolveRefRequest) MarshalJSON

func (x *ResolveRefRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ResolveRefRequest to JSON.

func (*ResolveRefRequest) MarshalProtoJSON

func (x *ResolveRefRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ResolveRefRequest message to JSON.

func (*ResolveRefRequest) MarshalProtoText

func (x *ResolveRefRequest) MarshalProtoText() string

func (*ResolveRefRequest) MarshalToSizedBufferVT

func (m *ResolveRefRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResolveRefRequest) MarshalToVT

func (m *ResolveRefRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ResolveRefRequest) MarshalVT

func (m *ResolveRefRequest) MarshalVT() (dAtA []byte, err error)

func (*ResolveRefRequest) ProtoMessage

func (*ResolveRefRequest) ProtoMessage()

func (*ResolveRefRequest) Reset

func (x *ResolveRefRequest) Reset()

func (*ResolveRefRequest) SizeVT

func (m *ResolveRefRequest) SizeVT() (n int)

func (*ResolveRefRequest) String

func (x *ResolveRefRequest) String() string

func (*ResolveRefRequest) UnmarshalJSON

func (x *ResolveRefRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ResolveRefRequest from JSON.

func (*ResolveRefRequest) UnmarshalProtoJSON

func (x *ResolveRefRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ResolveRefRequest message from JSON.

func (*ResolveRefRequest) UnmarshalVT

func (m *ResolveRefRequest) UnmarshalVT(dAtA []byte) error

type ResolveRefResponse

type ResolveRefResponse struct {

	// CommitHash is the resolved commit hash.
	CommitHash string `protobuf:"bytes,1,opt,name=commit_hash,json=commitHash,proto3" json:"commitHash,omitempty"`
	// TreeHash is the tree hash of the resolved commit.
	TreeHash string `protobuf:"bytes,2,opt,name=tree_hash,json=treeHash,proto3" json:"treeHash,omitempty"`
	// contains filtered or unexported fields
}

ResolveRefResponse is the response for ResolveRef.

func (*ResolveRefResponse) CloneMessageVT

func (m *ResolveRefResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*ResolveRefResponse) CloneVT

func (m *ResolveRefResponse) CloneVT() *ResolveRefResponse

func (*ResolveRefResponse) EqualMessageVT

func (this *ResolveRefResponse) EqualMessageVT(thatMsg any) bool

func (*ResolveRefResponse) EqualVT

func (this *ResolveRefResponse) EqualVT(that *ResolveRefResponse) bool

func (*ResolveRefResponse) GetCommitHash

func (x *ResolveRefResponse) GetCommitHash() string

func (*ResolveRefResponse) GetTreeHash

func (x *ResolveRefResponse) GetTreeHash() string

func (*ResolveRefResponse) MarshalJSON

func (x *ResolveRefResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the ResolveRefResponse to JSON.

func (*ResolveRefResponse) MarshalProtoJSON

func (x *ResolveRefResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the ResolveRefResponse message to JSON.

func (*ResolveRefResponse) MarshalProtoText

func (x *ResolveRefResponse) MarshalProtoText() string

func (*ResolveRefResponse) MarshalToSizedBufferVT

func (m *ResolveRefResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResolveRefResponse) MarshalToVT

func (m *ResolveRefResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ResolveRefResponse) MarshalVT

func (m *ResolveRefResponse) MarshalVT() (dAtA []byte, err error)

func (*ResolveRefResponse) ProtoMessage

func (*ResolveRefResponse) ProtoMessage()

func (*ResolveRefResponse) Reset

func (x *ResolveRefResponse) Reset()

func (*ResolveRefResponse) SizeVT

func (m *ResolveRefResponse) SizeVT() (n int)

func (*ResolveRefResponse) String

func (x *ResolveRefResponse) String() string

func (*ResolveRefResponse) UnmarshalJSON

func (x *ResolveRefResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the ResolveRefResponse from JSON.

func (*ResolveRefResponse) UnmarshalProtoJSON

func (x *ResolveRefResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the ResolveRefResponse message from JSON.

func (*ResolveRefResponse) UnmarshalVT

func (m *ResolveRefResponse) UnmarshalVT(dAtA []byte) error

type SRPCGitRepoResourceServiceClient

type SRPCGitRepoResourceServiceClient interface {
	// SRPCClient returns the underlying SRPC client.
	SRPCClient() srpc.Client

	ListRefs(ctx context.Context, in *ListRefsRequest) (*ListRefsResponse, error)

	ResolveRef(ctx context.Context, in *ResolveRefRequest) (*ResolveRefResponse, error)

	GetRepoInfo(ctx context.Context, in *GetRepoInfoRequest) (*GetRepoInfoResponse, error)

	GetTreeResource(ctx context.Context, in *GetTreeResourceRequest) (*GetTreeResourceResponse, error)

	GetRepoFilesystemResource(ctx context.Context, in *GetRepoFilesystemResourceRequest) (*GetRepoFilesystemResourceResponse, error)

	Log(ctx context.Context, in *LogRequest) (*LogResponse, error)

	GetCommit(ctx context.Context, in *GetCommitRequest) (*GetCommitResponse, error)

	GetDiffStat(ctx context.Context, in *GetDiffStatRequest) (*GetDiffStatResponse, error)

	GetDiffPatch(ctx context.Context, in *GetDiffPatchRequest) (*GetDiffPatchResponse, error)
}

func NewSRPCGitRepoResourceServiceClient

func NewSRPCGitRepoResourceServiceClient(cc srpc.Client) SRPCGitRepoResourceServiceClient

func NewSRPCGitRepoResourceServiceClientWithServiceID

func NewSRPCGitRepoResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCGitRepoResourceServiceClient

type SRPCGitRepoResourceServiceHandler

type SRPCGitRepoResourceServiceHandler struct {
	// contains filtered or unexported fields
}

func (SRPCGitRepoResourceServiceHandler) GetMethodIDs

func (SRPCGitRepoResourceServiceHandler) GetMethodIDs() []string

func (*SRPCGitRepoResourceServiceHandler) GetServiceID

func (d *SRPCGitRepoResourceServiceHandler) GetServiceID() string

func (*SRPCGitRepoResourceServiceHandler) InvokeMethod

func (d *SRPCGitRepoResourceServiceHandler) InvokeMethod(
	serviceID, methodID string,
	strm srpc.Stream,
) (bool, error)

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetCommit

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetDiffPatch added in v0.51.2

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetDiffStat

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetRepoFilesystemResource

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetRepoFilesystemResource(impl SRPCGitRepoResourceServiceServer, strm srpc.Stream) error

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetRepoInfo

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetTreeResource

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_GetTreeResource(impl SRPCGitRepoResourceServiceServer, strm srpc.Stream) error

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_ListRefs

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_Log

func (SRPCGitRepoResourceServiceHandler) InvokeMethod_ResolveRef

type SRPCGitRepoResourceService_GetCommitStream

type SRPCGitRepoResourceService_GetCommitStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_GetDiffPatchStream added in v0.51.2

type SRPCGitRepoResourceService_GetDiffPatchStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_GetDiffStatStream

type SRPCGitRepoResourceService_GetDiffStatStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_GetRepoFilesystemResourceStream

type SRPCGitRepoResourceService_GetRepoFilesystemResourceStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_GetRepoInfoStream

type SRPCGitRepoResourceService_GetRepoInfoStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_GetTreeResourceStream

type SRPCGitRepoResourceService_GetTreeResourceStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_ListRefsStream

type SRPCGitRepoResourceService_ListRefsStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_LogStream

type SRPCGitRepoResourceService_LogStream interface {
	srpc.Stream
}

type SRPCGitRepoResourceService_ResolveRefStream

type SRPCGitRepoResourceService_ResolveRefStream interface {
	srpc.Stream
}

type SRPCGitWorktreeResourceServiceClient

type SRPCGitWorktreeResourceServiceClient interface {
	// SRPCClient returns the underlying SRPC client.
	SRPCClient() srpc.Client

	GetWorktreeInfo(ctx context.Context, in *GetWorktreeInfoRequest) (*GetWorktreeInfoResponse, error)

	GetRepoResource(ctx context.Context, in *GetRepoResourceRequest) (*GetRepoResourceResponse, error)

	GetWorkdirResource(ctx context.Context, in *GetWorkdirResourceRequest) (*GetWorkdirResourceResponse, error)

	WatchStatus(ctx context.Context, in *WatchStatusRequest) (SRPCGitWorktreeResourceService_WatchStatusClient, error)

	StageFiles(ctx context.Context, in *StageFilesRequest) (*StageFilesResponse, error)

	UnstageFiles(ctx context.Context, in *UnstageFilesRequest) (*UnstageFilesResponse, error)
}

func NewSRPCGitWorktreeResourceServiceClient

func NewSRPCGitWorktreeResourceServiceClient(cc srpc.Client) SRPCGitWorktreeResourceServiceClient

func NewSRPCGitWorktreeResourceServiceClientWithServiceID

func NewSRPCGitWorktreeResourceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCGitWorktreeResourceServiceClient

type SRPCGitWorktreeResourceServiceHandler

type SRPCGitWorktreeResourceServiceHandler struct {
	// contains filtered or unexported fields
}

func (SRPCGitWorktreeResourceServiceHandler) GetMethodIDs

func (*SRPCGitWorktreeResourceServiceHandler) GetServiceID

func (*SRPCGitWorktreeResourceServiceHandler) InvokeMethod

func (d *SRPCGitWorktreeResourceServiceHandler) InvokeMethod(
	serviceID, methodID string,
	strm srpc.Stream,
) (bool, error)

func (SRPCGitWorktreeResourceServiceHandler) InvokeMethod_GetRepoResource

func (SRPCGitWorktreeResourceServiceHandler) InvokeMethod_GetWorkdirResource

func (SRPCGitWorktreeResourceServiceHandler) InvokeMethod_GetWorktreeInfo

func (SRPCGitWorktreeResourceServiceHandler) InvokeMethod_StageFiles

func (SRPCGitWorktreeResourceServiceHandler) InvokeMethod_UnstageFiles

func (SRPCGitWorktreeResourceServiceHandler) InvokeMethod_WatchStatus

type SRPCGitWorktreeResourceService_GetRepoResourceStream

type SRPCGitWorktreeResourceService_GetRepoResourceStream interface {
	srpc.Stream
}

type SRPCGitWorktreeResourceService_GetWorkdirResourceStream

type SRPCGitWorktreeResourceService_GetWorkdirResourceStream interface {
	srpc.Stream
}

type SRPCGitWorktreeResourceService_GetWorktreeInfoStream

type SRPCGitWorktreeResourceService_GetWorktreeInfoStream interface {
	srpc.Stream
}

type SRPCGitWorktreeResourceService_StageFilesStream

type SRPCGitWorktreeResourceService_StageFilesStream interface {
	srpc.Stream
}

type SRPCGitWorktreeResourceService_UnstageFilesStream

type SRPCGitWorktreeResourceService_UnstageFilesStream interface {
	srpc.Stream
}

type SRPCGitWorktreeResourceService_WatchStatusClient

type SRPCGitWorktreeResourceService_WatchStatusClient interface {
	srpc.Stream
	Recv() (*WatchStatusResponse, error)
	RecvTo(*WatchStatusResponse) error
}

type SRPCGitWorktreeResourceService_WatchStatusStream

type SRPCGitWorktreeResourceService_WatchStatusStream interface {
	srpc.Stream
	Send(*WatchStatusResponse) error
	SendAndClose(*WatchStatusResponse) error
}

type StageFilesRequest

type StageFilesRequest struct {

	// Paths is the list of file paths to stage.
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

StageFilesRequest is the request for StageFiles.

func (*StageFilesRequest) CloneMessageVT

func (m *StageFilesRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StageFilesRequest) CloneVT

func (m *StageFilesRequest) CloneVT() *StageFilesRequest

func (*StageFilesRequest) EqualMessageVT

func (this *StageFilesRequest) EqualMessageVT(thatMsg any) bool

func (*StageFilesRequest) EqualVT

func (this *StageFilesRequest) EqualVT(that *StageFilesRequest) bool

func (*StageFilesRequest) GetPaths

func (x *StageFilesRequest) GetPaths() []string

func (*StageFilesRequest) MarshalJSON

func (x *StageFilesRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StageFilesRequest to JSON.

func (*StageFilesRequest) MarshalProtoJSON

func (x *StageFilesRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StageFilesRequest message to JSON.

func (*StageFilesRequest) MarshalProtoText

func (x *StageFilesRequest) MarshalProtoText() string

func (*StageFilesRequest) MarshalToSizedBufferVT

func (m *StageFilesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StageFilesRequest) MarshalToVT

func (m *StageFilesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*StageFilesRequest) MarshalVT

func (m *StageFilesRequest) MarshalVT() (dAtA []byte, err error)

func (*StageFilesRequest) ProtoMessage

func (*StageFilesRequest) ProtoMessage()

func (*StageFilesRequest) Reset

func (x *StageFilesRequest) Reset()

func (*StageFilesRequest) SizeVT

func (m *StageFilesRequest) SizeVT() (n int)

func (*StageFilesRequest) String

func (x *StageFilesRequest) String() string

func (*StageFilesRequest) UnmarshalJSON

func (x *StageFilesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StageFilesRequest from JSON.

func (*StageFilesRequest) UnmarshalProtoJSON

func (x *StageFilesRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StageFilesRequest message from JSON.

func (*StageFilesRequest) UnmarshalVT

func (m *StageFilesRequest) UnmarshalVT(dAtA []byte) error

type StageFilesResponse

type StageFilesResponse struct {
	// contains filtered or unexported fields
}

StageFilesResponse is the response for StageFiles.

func (*StageFilesResponse) CloneMessageVT

func (m *StageFilesResponse) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StageFilesResponse) CloneVT

func (m *StageFilesResponse) CloneVT() *StageFilesResponse

func (*StageFilesResponse) EqualMessageVT

func (this *StageFilesResponse) EqualMessageVT(thatMsg any) bool

func (*StageFilesResponse) EqualVT

func (this *StageFilesResponse) EqualVT(that *StageFilesResponse) bool

func (*StageFilesResponse) MarshalJSON

func (x *StageFilesResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StageFilesResponse to JSON.

func (*StageFilesResponse) MarshalProtoJSON

func (x *StageFilesResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StageFilesResponse message to JSON.

func (*StageFilesResponse) MarshalProtoText

func (x *StageFilesResponse) MarshalProtoText() string

func (*StageFilesResponse) MarshalToSizedBufferVT

func (m *StageFilesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StageFilesResponse) MarshalToVT

func (m *StageFilesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*StageFilesResponse) MarshalVT

func (m *StageFilesResponse) MarshalVT() (dAtA []byte, err error)

func (*StageFilesResponse) ProtoMessage

func (*StageFilesResponse) ProtoMessage()

func (*StageFilesResponse) Reset

func (x *StageFilesResponse) Reset()

func (*StageFilesResponse) SizeVT

func (m *StageFilesResponse) SizeVT() (n int)

func (*StageFilesResponse) String

func (x *StageFilesResponse) String() string

func (*StageFilesResponse) UnmarshalJSON

func (x *StageFilesResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StageFilesResponse from JSON.

func (*StageFilesResponse) UnmarshalProtoJSON

func (x *StageFilesResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StageFilesResponse message from JSON.

func (*StageFilesResponse) UnmarshalVT

func (m *StageFilesResponse) UnmarshalVT(dAtA []byte) error

type StatusEntry

type StatusEntry struct {

	// FilePath is the relative path of the file.
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"filePath,omitempty"`
	// StagingStatus is the status in the staging area (index).
	StagingStatus FileStatusCode `protobuf:"varint,2,opt,name=staging_status,json=stagingStatus,proto3" json:"stagingStatus,omitempty"`
	// WorktreeStatus is the status in the working directory.
	WorktreeStatus FileStatusCode `protobuf:"varint,3,opt,name=worktree_status,json=worktreeStatus,proto3" json:"worktreeStatus,omitempty"`
	// contains filtered or unexported fields
}

StatusEntry contains the status of a file in the worktree.

func (*StatusEntry) CloneMessageVT

func (m *StatusEntry) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*StatusEntry) CloneVT

func (m *StatusEntry) CloneVT() *StatusEntry

func (*StatusEntry) EqualMessageVT

func (this *StatusEntry) EqualMessageVT(thatMsg any) bool

func (*StatusEntry) EqualVT

func (this *StatusEntry) EqualVT(that *StatusEntry) bool

func (*StatusEntry) GetFilePath

func (x *StatusEntry) GetFilePath() string

func (*StatusEntry) GetStagingStatus

func (x *StatusEntry) GetStagingStatus() FileStatusCode

func (*StatusEntry) GetWorktreeStatus

func (x *StatusEntry) GetWorktreeStatus() FileStatusCode

func (*StatusEntry) MarshalJSON

func (x *StatusEntry) MarshalJSON() ([]byte, error)

MarshalJSON marshals the StatusEntry to JSON.

func (*StatusEntry) MarshalProtoJSON

func (x *StatusEntry) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the StatusEntry message to JSON.

func (*StatusEntry) MarshalProtoText

func (x *StatusEntry) MarshalProtoText() string

func (*StatusEntry) MarshalToSizedBufferVT

func (m *StatusEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StatusEntry) MarshalToVT

func (m *StatusEntry) MarshalToVT(dAtA []byte) (int, error)

func (*StatusEntry) MarshalVT

func (m *StatusEntry) MarshalVT() (dAtA []byte, err error)

func (*StatusEntry) ProtoMessage

func (*StatusEntry) ProtoMessage()

func (*StatusEntry) Reset

func (x *StatusEntry) Reset()

func (*StatusEntry) SizeVT

func (m *StatusEntry) SizeVT() (n int)

func (*StatusEntry) String

func (x *StatusEntry) String() string

func (*StatusEntry) UnmarshalJSON

func (x *StatusEntry) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the StatusEntry from JSON.

func (*StatusEntry) UnmarshalProtoJSON

func (x *StatusEntry) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the StatusEntry message from JSON.

func (*StatusEntry) UnmarshalVT

func (m *StatusEntry) UnmarshalVT(dAtA []byte) error

type UnstageFilesRequest

type UnstageFilesRequest struct {

	// Paths is the list of file paths to unstage.
	Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

UnstageFilesRequest is the request for UnstageFiles.

func (*UnstageFilesRequest) CloneMessageVT

func (*UnstageFilesRequest) CloneVT

func (*UnstageFilesRequest) EqualMessageVT

func (this *UnstageFilesRequest) EqualMessageVT(thatMsg any) bool

func (*UnstageFilesRequest) EqualVT

func (this *UnstageFilesRequest) EqualVT(that *UnstageFilesRequest) bool

func (*UnstageFilesRequest) GetPaths

func (x *UnstageFilesRequest) GetPaths() []string

func (*UnstageFilesRequest) MarshalJSON

func (x *UnstageFilesRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the UnstageFilesRequest to JSON.

func (*UnstageFilesRequest) MarshalProtoJSON

func (x *UnstageFilesRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the UnstageFilesRequest message to JSON.

func (*UnstageFilesRequest) MarshalProtoText

func (x *UnstageFilesRequest) MarshalProtoText() string

func (*UnstageFilesRequest) MarshalToSizedBufferVT

func (m *UnstageFilesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnstageFilesRequest) MarshalToVT

func (m *UnstageFilesRequest) MarshalToVT(dAtA []byte) (int, error)

func (*UnstageFilesRequest) MarshalVT

func (m *UnstageFilesRequest) MarshalVT() (dAtA []byte, err error)

func (*UnstageFilesRequest) ProtoMessage

func (*UnstageFilesRequest) ProtoMessage()

func (*UnstageFilesRequest) Reset

func (x *UnstageFilesRequest) Reset()

func (*UnstageFilesRequest) SizeVT

func (m *UnstageFilesRequest) SizeVT() (n int)

func (*UnstageFilesRequest) String

func (x *UnstageFilesRequest) String() string

func (*UnstageFilesRequest) UnmarshalJSON

func (x *UnstageFilesRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the UnstageFilesRequest from JSON.

func (*UnstageFilesRequest) UnmarshalProtoJSON

func (x *UnstageFilesRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the UnstageFilesRequest message from JSON.

func (*UnstageFilesRequest) UnmarshalVT

func (m *UnstageFilesRequest) UnmarshalVT(dAtA []byte) error

type UnstageFilesResponse

type UnstageFilesResponse struct {
	// contains filtered or unexported fields
}

UnstageFilesResponse is the response for UnstageFiles.

func (*UnstageFilesResponse) CloneMessageVT

func (*UnstageFilesResponse) CloneVT

func (*UnstageFilesResponse) EqualMessageVT

func (this *UnstageFilesResponse) EqualMessageVT(thatMsg any) bool

func (*UnstageFilesResponse) EqualVT

func (this *UnstageFilesResponse) EqualVT(that *UnstageFilesResponse) bool

func (*UnstageFilesResponse) MarshalJSON

func (x *UnstageFilesResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the UnstageFilesResponse to JSON.

func (*UnstageFilesResponse) MarshalProtoJSON

func (x *UnstageFilesResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the UnstageFilesResponse message to JSON.

func (*UnstageFilesResponse) MarshalProtoText

func (x *UnstageFilesResponse) MarshalProtoText() string

func (*UnstageFilesResponse) MarshalToSizedBufferVT

func (m *UnstageFilesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*UnstageFilesResponse) MarshalToVT

func (m *UnstageFilesResponse) MarshalToVT(dAtA []byte) (int, error)

func (*UnstageFilesResponse) MarshalVT

func (m *UnstageFilesResponse) MarshalVT() (dAtA []byte, err error)

func (*UnstageFilesResponse) ProtoMessage

func (*UnstageFilesResponse) ProtoMessage()

func (*UnstageFilesResponse) Reset

func (x *UnstageFilesResponse) Reset()

func (*UnstageFilesResponse) SizeVT

func (m *UnstageFilesResponse) SizeVT() (n int)

func (*UnstageFilesResponse) String

func (x *UnstageFilesResponse) String() string

func (*UnstageFilesResponse) UnmarshalJSON

func (x *UnstageFilesResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the UnstageFilesResponse from JSON.

func (*UnstageFilesResponse) UnmarshalProtoJSON

func (x *UnstageFilesResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the UnstageFilesResponse message from JSON.

func (*UnstageFilesResponse) UnmarshalVT

func (m *UnstageFilesResponse) UnmarshalVT(dAtA []byte) error

type WatchStatusRequest

type WatchStatusRequest struct {
	// contains filtered or unexported fields
}

WatchStatusRequest is the request for WatchStatus.

func (*WatchStatusRequest) CloneMessageVT

func (m *WatchStatusRequest) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*WatchStatusRequest) CloneVT

func (m *WatchStatusRequest) CloneVT() *WatchStatusRequest

func (*WatchStatusRequest) EqualMessageVT

func (this *WatchStatusRequest) EqualMessageVT(thatMsg any) bool

func (*WatchStatusRequest) EqualVT

func (this *WatchStatusRequest) EqualVT(that *WatchStatusRequest) bool

func (*WatchStatusRequest) MarshalJSON

func (x *WatchStatusRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchStatusRequest to JSON.

func (*WatchStatusRequest) MarshalProtoJSON

func (x *WatchStatusRequest) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchStatusRequest message to JSON.

func (*WatchStatusRequest) MarshalProtoText

func (x *WatchStatusRequest) MarshalProtoText() string

func (*WatchStatusRequest) MarshalToSizedBufferVT

func (m *WatchStatusRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchStatusRequest) MarshalToVT

func (m *WatchStatusRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchStatusRequest) MarshalVT

func (m *WatchStatusRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchStatusRequest) ProtoMessage

func (*WatchStatusRequest) ProtoMessage()

func (*WatchStatusRequest) Reset

func (x *WatchStatusRequest) Reset()

func (*WatchStatusRequest) SizeVT

func (m *WatchStatusRequest) SizeVT() (n int)

func (*WatchStatusRequest) String

func (x *WatchStatusRequest) String() string

func (*WatchStatusRequest) UnmarshalJSON

func (x *WatchStatusRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchStatusRequest from JSON.

func (*WatchStatusRequest) UnmarshalProtoJSON

func (x *WatchStatusRequest) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchStatusRequest message from JSON.

func (*WatchStatusRequest) UnmarshalVT

func (m *WatchStatusRequest) UnmarshalVT(dAtA []byte) error

type WatchStatusResponse

type WatchStatusResponse struct {

	// Entries is the list of files with non-clean status.
	Entries []*StatusEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

WatchStatusResponse is the response for WatchStatus.

func (*WatchStatusResponse) CloneMessageVT

func (*WatchStatusResponse) CloneVT

func (*WatchStatusResponse) EqualMessageVT

func (this *WatchStatusResponse) EqualMessageVT(thatMsg any) bool

func (*WatchStatusResponse) EqualVT

func (this *WatchStatusResponse) EqualVT(that *WatchStatusResponse) bool

func (*WatchStatusResponse) GetEntries

func (x *WatchStatusResponse) GetEntries() []*StatusEntry

func (*WatchStatusResponse) MarshalJSON

func (x *WatchStatusResponse) MarshalJSON() ([]byte, error)

MarshalJSON marshals the WatchStatusResponse to JSON.

func (*WatchStatusResponse) MarshalProtoJSON

func (x *WatchStatusResponse) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals the WatchStatusResponse message to JSON.

func (*WatchStatusResponse) MarshalProtoText

func (x *WatchStatusResponse) MarshalProtoText() string

func (*WatchStatusResponse) MarshalToSizedBufferVT

func (m *WatchStatusResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchStatusResponse) MarshalToVT

func (m *WatchStatusResponse) MarshalToVT(dAtA []byte) (int, error)

func (*WatchStatusResponse) MarshalVT

func (m *WatchStatusResponse) MarshalVT() (dAtA []byte, err error)

func (*WatchStatusResponse) ProtoMessage

func (*WatchStatusResponse) ProtoMessage()

func (*WatchStatusResponse) Reset

func (x *WatchStatusResponse) Reset()

func (*WatchStatusResponse) SizeVT

func (m *WatchStatusResponse) SizeVT() (n int)

func (*WatchStatusResponse) String

func (x *WatchStatusResponse) String() string

func (*WatchStatusResponse) UnmarshalJSON

func (x *WatchStatusResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the WatchStatusResponse from JSON.

func (*WatchStatusResponse) UnmarshalProtoJSON

func (x *WatchStatusResponse) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals the WatchStatusResponse message from JSON.

func (*WatchStatusResponse) UnmarshalVT

func (m *WatchStatusResponse) UnmarshalVT(dAtA []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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