mirror of
https://github.com/oven-sh/bun
synced 2026-02-18 14:51:52 +00:00
Fix: number '0000010' has leading zero
This commit is contained in:
@@ -11,13 +11,13 @@ const FILE = @import("std").c.FILE;
|
||||
const dev_t = @import("std").c.dev_t;
|
||||
|
||||
pub const FileType = enum(mode_t) {
|
||||
regular = 0100000,
|
||||
link = 0120000,
|
||||
socket = 0140000,
|
||||
character_oriented_device = 0020000,
|
||||
block_oriented_device = 0060000,
|
||||
directory = 0040000,
|
||||
fifo = 0010000,
|
||||
regular = 0o100000,
|
||||
link = 0o120000,
|
||||
socket = 0o140000,
|
||||
character_oriented_device = 0o20000,
|
||||
block_oriented_device = 0o60000,
|
||||
directory = 0o40000,
|
||||
fifo = 0o10000,
|
||||
};
|
||||
|
||||
pub const SymlinkType = enum(c_int) {
|
||||
|
||||
Reference in New Issue
Block a user