Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

    File is a bazel file https://docs.bazel.build/versions/master/skylark/lib/File.html#modules.File

    func New

    func New(file, pkg label.Label, ws workspace.Workspace) *File

    func (*File) Attr

    func (f *File) Attr(name string) (skylark.Value, error)

    func (*File) AttrNames

    func (f *File) AttrNames() []string

    func (*File) Exists

    func (f *File) Exists() bool

    func (*File) Freeze

    func (f *File) Freeze()

    func (*File) Hash

    func (f *File) Hash() (uint32, error)

    func (*File) Name

    func (f *File) Name() string

    func (*File) Path

    func (f *File) Path() string

    func (*File) String

    func (f *File) String() string

    func (*File) Truth

    func (f *File) Truth() skylark.Bool

    func (*File) Type

    func (f *File) Type() string

    Source Files