~foosoft/goldsmith

be7d133c1283c39e4efd45a93971fa9ee6a3ced5 — Alex Yatskov 9 years ago 3883d1d
API changes
2 files changed, 2 insertions(+), 8 deletions(-)

M core.go
M goldsmith.go
M core.go => core.go +1 -6
@@ 91,10 91,6 @@ func (gs *goldsmith) AbsDstPath(path string) string {
}

func (gs *goldsmith) Apply(p Processor) Applier {
	return gs.ApplyTo(p, "*")
}

func (gs *goldsmith) ApplyTo(p Processor, pattern string) Applier {
	s := gs.stage()

	gs.wg.Add(1)


@@ 106,7 102,6 @@ func (gs *goldsmith) ApplyTo(p Processor, pattern string) Applier {
	return gs
}

func (gs *goldsmith) Wait() Applier {
func (gs *goldsmith) Complete() {
	gs.wg.Wait()
	return gs
}

M goldsmith.go => goldsmith.go +1 -2
@@ 38,6 38,5 @@ type Processor interface {

type Applier interface {
	Apply(p Processor) Applier
	ApplyTo(p Processor, pattern string) Applier
	Wait() Applier
	Complete()
}

Do not follow this link