Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRepository ¶
type FakeRepository struct {
// contains filtered or unexported fields
}
func New ¶
func New(fs FS, temporaries ...*FakeTemporaryRepository) *FakeRepository
func (*FakeRepository) LinkAllToTemporaryRepository ¶
func (r *FakeRepository) LinkAllToTemporaryRepository(directoryPath string) ooze.TemporaryRepository
func (*FakeRepository) ListGoSourceFiles ¶
func (r *FakeRepository) ListGoSourceFiles() []*gosourcefile.GoSourceFile
type FakeTemporaryRepository ¶
type FakeTemporaryRepository struct {
// contains filtered or unexported fields
}
func NewTemporary ¶
func NewTemporary() *FakeTemporaryRepository
func NewTemporaryAt ¶
func NewTemporaryAt(root string) *FakeTemporaryRepository
func (*FakeTemporaryRepository) ListFiles ¶
func (r *FakeTemporaryRepository) ListFiles() FS
func (*FakeTemporaryRepository) Overwrite ¶
func (r *FakeTemporaryRepository) Overwrite(filePath string, data []byte)
func (*FakeTemporaryRepository) Remove ¶
func (r *FakeTemporaryRepository) Remove()
func (*FakeTemporaryRepository) Removed ¶
func (r *FakeTemporaryRepository) Removed() bool
func (*FakeTemporaryRepository) Root ¶
func (r *FakeTemporaryRepository) Root() string
Click to show internal directories.
Click to hide internal directories.