MCPcopy Create free account
hub / github.com/tailscale/tailscale / IsDir

Method IsDir

drive/driveimpl/shared/stat.go:41–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39func (fi *StaticFileInfo) Mode() os.FileMode { return fi.Moded }
40func (fi *StaticFileInfo) ModTime() time.Time { return fi.ModdedTime }
41func (fi *StaticFileInfo) IsDir() bool { return fi.Dir }
42func (fi *StaticFileInfo) Sys() any { return nil }
43
44func RenamedFileInfo(ctx context.Context, name string, fi fs.FileInfo) *StaticFileInfo {

Callers 2

fileInfoToStaticFunction · 0.45
RenamedFileInfoFunction · 0.45

Calls

no outgoing calls

Tested by 1

fileInfoToStaticFunction · 0.36