Module Line.Stat.Mode

module Mode: sig .. end
Various bits in a file's mode (permissions). See chmod(2).

val xusr : Line.t -> bool
File is executable by owner. (accessor, required)
val set_xusr : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.xusr
val wusr : Line.t -> bool
File is writeable by owner. (accessor, required)
val set_wusr : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.wusr
val rusr : Line.t -> bool
File is readable by owner. (accessor, required)
val set_rusr : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.rusr
val xgrp : Line.t -> bool
File is executable by group. (accessor, required)
val set_xgrp : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.xgrp
val wgrp : Line.t -> bool
File is writeable by group. (accessor, required)
val set_wgrp : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.wgrp
val rgrp : Line.t -> bool
File is readable by group. (accessor, required)
val set_rgrp : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.rgrp
val xoth : Line.t -> bool
File is executable by everyone. (accessor, required)
val set_xoth : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.xoth
val woth : Line.t -> bool
File is writeable by everyone. (accessor, required)
val set_woth : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.woth
val roth : Line.t -> bool
File is readable by everyone. (accessor, required)
val set_roth : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.roth
val suid : Line.t -> bool
File has set-user-id bit set. (accessor, required)
val set_suid : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.suid
val sgid : Line.t -> bool
File has set-group-id bit set. (accessor, required)
val set_sgid : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.sgid
val sticky : Line.t -> bool
File has sticky bit set. (accessor, required)
val set_sticky : bool -> Line.t -> Line.t
Updater for Line.Stat.Mode.sticky
val bits : Line.t -> int
The entire mode word, as used by chmod. (accessor, required)
val set_bits : int -> Line.t -> Line.t
Updater for Line.Stat.Mode.bits
val create : xusr:bool ->
wusr:bool ->
rusr:bool ->
xgrp:bool ->
wgrp:bool ->
rgrp:bool ->
xoth:bool ->
woth:bool ->
roth:bool ->
suid:bool -> sgid:bool -> sticky:bool -> bits:int -> Line.t -> Line.t
Add the Line.Stat.Mode substructure to a line.