mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-16 12:58:48 +08:00
13 lines
169 B
Go
13 lines
169 B
Go
// +build !windows,!plan9
|
|
|
|
package lscolors
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func isMultiHardlink(info os.FileInfo) bool {
|
|
return info.Sys().(*syscall.Stat_t).Nlink > 1
|
|
}
|