update vendor/

This commit is contained in:
Ettore Di Giacinto
2019-11-25 20:32:33 +01:00
parent 08897b5105
commit a674c6515c
10 changed files with 246 additions and 0 deletions

15
vendor/github.com/marcsauter/single/single_darwin.go generated vendored Normal file
View File

@@ -0,0 +1,15 @@
package single
import (
"fmt"
"os"
"path/filepath"
)
// Filename returns an absolute filename, appropriate for the operating system
func (s *Single) Filename() string {
if len(Lockfile) > 0 {
return Lockfile
}
return filepath.Join(os.TempDir(), fmt.Sprintf("%s.lock", s.name))
}