Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FSRepository ¶
type FSRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New(root string) *FSRepository
func NewWithStrategy ¶ added in v0.5.0
func NewWithStrategy(root, strategy string) *FSRepository
NewWithStrategy materialises sandboxes the named way. See materialize.
func (*FSRepository) Copied ¶ added in v0.5.0
func (r *FSRepository) Copied() int
func (*FSRepository) HardLinked ¶ added in v0.5.0
func (r *FSRepository) HardLinked() int
HardLinked and Copied report how each file reached the sandboxes this repository built. The fallback is silent by design, so without these nothing can say which path a run actually took.
func (*FSRepository) LinkAllToTemporaryRepository ¶
func (r *FSRepository) LinkAllToTemporaryRepository(temporaryPath string) ditto.TemporaryRepository
func (*FSRepository) ListGoSourceFiles ¶
func (r *FSRepository) ListGoSourceFiles() []*gosourcefile.GoSourceFile
type FSTemporaryRepository ¶
type FSTemporaryRepository struct {
// contains filtered or unexported fields
}
func NewTemporary ¶
func NewTemporary(root string) *FSTemporaryRepository
func (*FSTemporaryRepository) Overwrite ¶
func (r *FSTemporaryRepository) Overwrite(filePath string, data []byte)
func (*FSTemporaryRepository) Remove ¶
func (r *FSTemporaryRepository) Remove()
func (*FSTemporaryRepository) Root ¶
func (r *FSTemporaryRepository) Root() string
Click to show internal directories.
Click to hide internal directories.