Documentation ¶
Index ¶
- type MockPackedComponent
- func (m *MockPackedComponent) BundleKey() string
- func (m *MockPackedComponent) Dependencies() []*jsparse.ImportDependency
- func (m *MockPackedComponent) Name() string
- func (m *MockPackedComponent) OriginalFilePath() string
- func (m *MockPackedComponent) Repack() error
- func (m *MockPackedComponent) RepackForWaitGroup(wg *sync.WaitGroup, c chan error)
- func (m *MockPackedComponent) WebWrapper() webwrap.JSWebWrapper
- type MockPacker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPackedComponent ¶
type MockPackedComponent struct {
WasRepacked bool
}
func (*MockPackedComponent) BundleKey ¶
func (m *MockPackedComponent) BundleKey() string
func (*MockPackedComponent) Dependencies ¶
func (m *MockPackedComponent) Dependencies() []*jsparse.ImportDependency
func (*MockPackedComponent) Name ¶
func (m *MockPackedComponent) Name() string
func (*MockPackedComponent) OriginalFilePath ¶
func (m *MockPackedComponent) OriginalFilePath() string
func (*MockPackedComponent) Repack ¶
func (m *MockPackedComponent) Repack() error
func (*MockPackedComponent) RepackForWaitGroup ¶
func (m *MockPackedComponent) RepackForWaitGroup(wg *sync.WaitGroup, c chan error)
func (*MockPackedComponent) WebWrapper ¶
func (m *MockPackedComponent) WebWrapper() webwrap.JSWebWrapper
type MockPacker ¶
func (*MockPacker) PackMany ¶
func (m *MockPacker) PackMany(pages []string) ([]srcpack.PackComponent, error)
func (*MockPacker) PackSingle ¶
func (m *MockPacker) PackSingle(logger log.Logger, file string) (srcpack.PackComponent, error)
func (*MockPacker) ReattachLogger ¶
func (m *MockPacker) ReattachLogger(logger log.Logger) srcpack.Packer
Click to show internal directories.
Click to hide internal directories.