aboutsummaryrefslogtreecommitdiff
path: root/src/router.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/router.zig')
-rw-r--r--src/router.zig30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/router.zig b/src/router.zig
index b6754156c..cd169f261 100644
--- a/src/router.zig
+++ b/src/router.zig
@@ -7,19 +7,19 @@ const Router = @This();
const Api = @import("./api/schema.zig").Api;
const std = @import("std");
-const _global = @import("global.zig");
-const string = _global.string;
-const Output = _global.Output;
-const Global = _global.Global;
-const PathString = _global.PathString;
-const HashedString = _global.HashedString;
-const Environment = _global.Environment;
-const strings = _global.strings;
-const MutableString = _global.MutableString;
-const stringZ = _global.stringZ;
-const default_allocator = _global.default_allocator;
-const C = _global.C;
-const StoredFileDescriptorType = _global.StoredFileDescriptorType;
+const bun = @import("global.zig");
+const string = bun.string;
+const Output = bun.Output;
+const Global = bun.Global;
+const PathString = bun.PathString;
+const HashedString = bun.HashedString;
+const Environment = bun.Environment;
+const strings = bun.strings;
+const MutableString = bun.MutableString;
+const stringZ = bun.stringZ;
+const default_allocator = bun.default_allocator;
+const C = bun.C;
+const StoredFileDescriptorType = bun.StoredFileDescriptorType;
const DirInfo = @import("./resolver/dir_info.zig");
const Fs = @import("./fs.zig");
const Options = @import("./options.zig");
@@ -536,8 +536,8 @@ pub const Route = struct {
pub const Ptr = TinyPtr;
pub const index_route_name: string = "/";
- var route_file_buf: [_global.MAX_PATH_BYTES]u8 = undefined;
- var second_route_file_buf: [_global.MAX_PATH_BYTES]u8 = undefined;
+ var route_file_buf: [bun.MAX_PATH_BYTES]u8 = undefined;
+ var second_route_file_buf: [bun.MAX_PATH_BYTES]u8 = undefined;
pub const Sorter = struct {
const sort_table: [std.math.maxInt(u8)]u8 = brk: {