@@ -15,19 +15,19 @@ type FileMode: u32
1515// may be used in wire protocols or disk representations: they must not be
1616// changed, although new bits might be added.
1717const (
18- ModeDir: FileMode = 1 << (32 - 1 - iota) // d: is a directory
19- ModeAppend // a: append-only
20- ModeExclusive // l: exclusive use
21- ModeTemporary // T: temporary file; Plan 9 only
22- ModeSymlink // L: symbolic link
23- ModeDevice // D: device file
24- ModeNamedPipe // p: named pipe (FIFO)
25- ModeSocket // S: Unix domain socket
26- ModeSetuid // u: setuid
27- ModeSetgid // g: setgid
28- ModeCharDevice // c: Unix character device, when ModeDevice is set
29- ModeSticky // t: sticky
30- ModeIrregular // ?: non-regular file; nothing else is known about this file
18+ ModeDir: FileMode = 1 << (32 - 1 - iota) // d: is a directory
19+ ModeAppend // a: append-only
20+ ModeExclusive // l: exclusive use
21+ ModeTemporary // T: temporary file; Plan 9 only
22+ ModeSymlink // L: symbolic link
23+ ModeDevice // D: device file
24+ ModeNamedPipe // p: named pipe (FIFO)
25+ ModeSocket // S: Unix domain socket
26+ ModeSetuid // u: setuid
27+ ModeSetgid // g: setgid
28+ ModeCharDevice // c: Unix character device, when ModeDevice is set
29+ ModeSticky // t: sticky
30+ ModeIrregular // ?: non-regular file; nothing else is known about this file
3131
3232 // Mask for the type bits. For regular files, none will be set.
3333 ModeType = ModeDir | ModeSymlink | ModeNamedPipe | ModeSocket | ModeDevice | ModeCharDevice | ModeIrregular
0 commit comments