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

Method SetXattr

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

SetXattr implements vfs.FileDescriptionImpl.SetXattr.

(ctx context.Context, opts vfs.SetXattrOptions)

Source from the content-addressed store, hash-verified

194
195// SetXattr implements vfs.FileDescriptionImpl.SetXattr.
196func (fd *fileDescription) SetXattr(ctx context.Context, opts vfs.SetXattrOptions) error {
197 return fd.inode().SetXattr(ctx, opts)
198}
199
200// ListXattr implements vfs.FileDescriptionImpl.ListXattr.
201func (fd *fileDescription) ListXattr(ctx context.Context, size uint64) ([]string, error) {

Callers

nothing calls this directly

Calls 2

inodeMethod · 0.95
SetXattrMethod · 0.65

Tested by

no test coverage detected