MCPcopy Create free account
hub / github.com/cogentcore/core / IsIrregular

Method IsIrregular

filetree/node.go:235–237  ·  view source on GitHub ↗

IsIrregular returns true if file is a special "Irregular" node

()

Source from the content-addressed store, hash-verified

233
234// IsIrregular returns true if file is a special "Irregular" node
235func (fn *Node) IsIrregular() bool {
236 return (fn.Info.Mode & os.ModeIrregular) != 0
237}
238
239// isExternal returns true if file is external to main file tree
240func (fn *Node) isExternal() bool {

Callers 4

InitMethod · 0.95
RelativePathMethod · 0.95
isExternalMethod · 0.80
RepoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected