sources_pb

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 4 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Sources.ProtoReflect.Descriptor instead.

func (*Sources) GetEntrySourceUnitName

func (x *Sources) GetEntrySourceUnitName() string

func (*Sources) GetLocalSourcesPath

func (x *Sources) GetLocalSourcesPath() string

func (*Sources) GetMaskLocalSourcesPath

func (x *Sources) GetMaskLocalSourcesPath() bool

func (*Sources) GetSourceUnits

func (x *Sources) GetSourceUnits() []*SourceUnit

func (*Sources) ProtoMessage

func (*Sources) ProtoMessage()

func (*Sources) ProtoReflect

func (x *Sources) ProtoReflect() protoreflect.Message

func (*Sources) Reset

func (x *Sources) Reset()

func (*Sources) String

func (x *Sources) String() string

Jump to

Keyboard shortcuts

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