mirror of
https://github.com/mudler/luet.git
synced 2025-09-07 10:10:17 +00:00
Switch to go mod
This commit is contained in:
16
vendor/github.com/fsouza/go-dockerclient/internal/archive/changes_unix.go
generated
vendored
Normal file
16
vendor/github.com/fsouza/go-dockerclient/internal/archive/changes_unix.go
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright 2014 Docker authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the DOCKER-LICENSE file.
|
||||
|
||||
// +build !windows
|
||||
|
||||
package archive
|
||||
|
||||
import (
|
||||
"os"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func hasHardlinks(fi os.FileInfo) bool {
|
||||
return fi.Sys().(*syscall.Stat_t).Nlink > 1
|
||||
}
|
Reference in New Issue
Block a user