diff --git a/pkg/buildpack/buildpack.go b/pkg/buildpack/buildpack.go index fa0d51e215..1a2b3bc49f 100644 --- a/pkg/buildpack/buildpack.go +++ b/pkg/buildpack/buildpack.go @@ -8,7 +8,6 @@ import ( "path" "path/filepath" "strings" - "syscall" "github.com/BurntSushi/toml" "github.com/buildpacks/lifecycle/api" @@ -611,15 +610,3 @@ func (m *moduleTarCollection) close() []error { } return errors } - -func hasHardlinks(fi os.FileInfo) bool { - return fi.Sys().(*syscall.Stat_t).Nlink > 1 -} - -func getInodeFromStat(stat interface{}) (inode uint64, err error) { - s, ok := stat.(*syscall.Stat_t) - if ok { - inode = s.Ino - } - return -}