MCPcopy
hub / github.com/google/gvisor / FileType

Method FileType

pkg/p9/p9.go:192–194  ·  view source on GitHub ↗

FileType returns the file mode without the permission bits.

()

Source from the content-addressed store, hash-verified

190
191// FileType returns the file mode without the permission bits.
192func (m FileMode) FileType() FileMode {
193 return m & FileModeMask
194}
195
196// Permissions returns just the permission bits of the mode.
197func (m FileMode) Permissions() FileMode {

Callers 15

mknodatFunction · 0.45
InitMethod · 0.45
InitWithIDsMethod · 0.45
NewFDFunction · 0.45
OpenMethod · 0.45
createEtcFileFunction · 0.45
setAttrMethod · 0.45
CheckPermissionsMethod · 0.45
OpenMethod · 0.45
NewNodeMethod · 0.45
NewLinkMethod · 0.45
ReadlinkMethod · 0.45

Calls

no outgoing calls

Tested by 1

createEtcFileFunction · 0.36