Categorygithub.com/g0rbe/go-chattr
modulepackage
1.0.1
Repository: https://github.com/g0rbe/go-chattr.git
Documentation: pkg.go.dev

# README

go-chattr

GoDoc

It's an improved clone of snapd's chattr.

# Functions

GetAttr retrieves the attributes of a file.
IsAttr checks whether the given attribute is set.
SetAttr sets the given attribute.
UnsetAttr unsets the given attribute.

# Constants

writes to file may only append */.
btree format dir */.
Compress file */.
One or more compressed clusters */.
dirsync behaviour (directories only) */.
File attributes.
Inode used for large EA */.
Encrypted file */.
Reserved for ext4 */.
Extents */.
Reserved for ext4 */.
AFS directory */.
Immutable file */.
hash-indexed directory */.
Reserved for ext4 */.
from ioctl_list manpage.
Request flags.
Reserved for ext3 */.
do not update atime */.
Don't compress */.
Do not cow file */.
do not dump file */.
file tail should not be merged */.
Create with parents projid */.
reserved for ext2 lib */.
Secure deletion */.
Synchronous updates */.
Top of directory hierarchies*/.
Undelete */.