mirror of
https://github.com/vbatts/dedupe-linker.git
synced 2024-12-29 01:56:31 +00:00
18 lines
252 B
Go
18 lines
252 B
Go
package walker
|
|
|
|
import (
|
|
"github.com/vbatts/dedupe-linker/base"
|
|
)
|
|
|
|
type Walker struct {
|
|
Base *base.Base
|
|
}
|
|
|
|
func (w Walker) Walk(path string, quit chan int) error {
|
|
// XXX what is going on here?
|
|
select {
|
|
case <-quit:
|
|
close(quit)
|
|
}
|
|
return nil
|
|
}
|