InodeWithXattrs should be implemented by kernfs Inodes that support xattrs.
| 910 | |
| 911 | // InodeWithXattrs should be implemented by kernfs Inodes that support xattrs. |
| 912 | type InodeWithXattrs interface { |
| 913 | // GetXattr returns the value associated with the given extended attribute. |
| 914 | GetXattr(ctx context.Context, opts vfs.GetXattrOptions) (string, error) |
| 915 | |
| 916 | // SetXattr changes the value associated with the given extended attribute. |
| 917 | SetXattr(ctx context.Context, opts vfs.SetXattrOptions) error |
| 918 | |
| 919 | // ListXattr returns the names of the extended attributes. |
| 920 | ListXattr(ctx context.Context, size uint64) ([]string, error) |
| 921 | |
| 922 | // RemoveXattr removes the given extended attribute. |
| 923 | RemoveXattr(ctx context.Context, name string) error |
| 924 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…