Move restic package to internal/restic

This commit is contained in:
Alexander Neumann 2017-07-24 17:42:25 +02:00
parent 94030a12cf
commit 23c903074c
179 changed files with 100 additions and 136 deletions

View file

@ -1,22 +0,0 @@
// +build !windows,!darwin
package restic
import (
"os"
"os/signal"
"syscall"
"github.com/restic/restic/internal/debug"
)
func init() {
c := make(chan os.Signal)
signal.Notify(c, syscall.SIGUSR1)
go func() {
for s := range c {
debug.Log("Signal received: %v\n", s)
forceUpdateProgress <- true
}
}()
}