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

Method GetXattr

pkg/sentry/fsimpl/fuse/file.go:191–193  ·  view source on GitHub ↗

GetXattr implements vfs.FileDescriptionImpl.GetXattr.

(ctx context.Context, opts vfs.GetXattrOptions)

Source from the content-addressed store, hash-verified

189
190// GetXattr implements vfs.FileDescriptionImpl.GetXattr.
191func (fd *fileDescription) GetXattr(ctx context.Context, opts vfs.GetXattrOptions) (string, error) {
192 return fd.inode().GetXattr(ctx, opts)
193}
194
195// SetXattr implements vfs.FileDescriptionImpl.SetXattr.
196func (fd *fileDescription) SetXattr(ctx context.Context, opts vfs.SetXattrOptions) error {

Callers

nothing calls this directly

Calls 2

inodeMethod · 0.95
GetXattrMethod · 0.65

Tested by

no test coverage detected