Documentation ¶
Index ¶
- Variables
- type SourceUnit
- func (*SourceUnit) Descriptor() ([]byte, []int)deprecated
- func (x *SourceUnit) GetContent() string
- func (x *SourceUnit) GetName() string
- func (x *SourceUnit) GetPath() string
- func (*SourceUnit) ProtoMessage()
- func (x *SourceUnit) ProtoReflect() protoreflect.Message
- func (x *SourceUnit) Reset()
- func (x *SourceUnit) String() string
- type Sources
- func (*Sources) Descriptor() ([]byte, []int)deprecated
- func (x *Sources) GetEntrySourceUnitName() string
- func (x *Sources) GetLocalSourcesPath() string
- func (x *Sources) GetMaskLocalSourcesPath() bool
- func (x *Sources) GetSourceUnits() []*SourceUnit
- func (*Sources) ProtoMessage()
- func (x *Sources) ProtoReflect() protoreflect.Message
- func (x *Sources) Reset()
- func (x *Sources) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_sources_source_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SourceUnit ¶
type SourceUnit struct { // The name of the source unit. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The path to the source unit. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // The content of the source unit. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
SourceUnit represents an individual source unit with its name, path, and content.
func (*SourceUnit) Descriptor
deprecated
func (*SourceUnit) Descriptor() ([]byte, []int)
Deprecated: Use SourceUnit.ProtoReflect.Descriptor instead.
func (*SourceUnit) GetContent ¶
func (x *SourceUnit) GetContent() string
func (*SourceUnit) GetName ¶
func (x *SourceUnit) GetName() string
func (*SourceUnit) GetPath ¶
func (x *SourceUnit) GetPath() string
func (*SourceUnit) ProtoMessage ¶
func (*SourceUnit) ProtoMessage()
func (*SourceUnit) ProtoReflect ¶
func (x *SourceUnit) ProtoReflect() protoreflect.Message
func (*SourceUnit) Reset ¶
func (x *SourceUnit) Reset()
func (*SourceUnit) String ¶
func (x *SourceUnit) String() string
type Sources ¶
type Sources struct { // The name of the entry source unit. EntrySourceUnitName string `protobuf:"bytes,1,opt,name=entry_source_unit_name,json=entrySourceUnitName,proto3" json:"entry_source_unit_name,omitempty"` // Flag to determine if local sources path should be masked. MaskLocalSourcesPath bool `` /* 126-byte string literal not displayed */ // The path to the local sources. LocalSourcesPath string `protobuf:"bytes,3,opt,name=local_sources_path,json=localSourcesPath,proto3" json:"local_sources_path,omitempty"` // A list of source units. SourceUnits []*SourceUnit `protobuf:"bytes,4,rep,name=source_units,json=sourceUnits,proto3" json:"source_units,omitempty"` // contains filtered or unexported fields }
Sources represents a collection of source units with additional metadata.
func (*Sources) Descriptor
deprecated
func (*Sources) GetEntrySourceUnitName ¶
func (*Sources) GetLocalSourcesPath ¶
func (*Sources) GetMaskLocalSourcesPath ¶
func (*Sources) GetSourceUnits ¶
func (x *Sources) GetSourceUnits() []*SourceUnit
func (*Sources) ProtoMessage ¶
func (*Sources) ProtoMessage()
func (*Sources) ProtoReflect ¶
func (x *Sources) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.