File: stat.go

package info (click to toggle)
golang-github-tonistiigi-fsutil 0.0~git20240424.91a3fc4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 664 kB
  • sloc: sh: 59; makefile: 5
file content (7 lines) | stat: -rw-r--r-- 95 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
package types

import "os"

func (s Stat) IsDir() bool {
	return os.FileMode(s.Mode).IsDir()
}