remove some dead code
This commit is contained in:
parent
3f92120fbe
commit
737a9dc008
@ -7,7 +7,6 @@ const readRequestHeader = @import("./header.zig").readRequestHeader;
|
||||
const requests = @import("./requests.zig");
|
||||
const types = @import("./types.zig");
|
||||
const analysis = @import("./analysis.zig");
|
||||
const URI = @import("./uri.zig");
|
||||
const references = @import("./references.zig");
|
||||
const rename = @import("./rename.zig");
|
||||
const offsets = @import("./offsets.zig");
|
||||
|
@ -90,13 +90,6 @@ pub fn pathRelative(allocator: *std.mem.Allocator, base: []const u8, rel: []cons
|
||||
return allocator.resize(result, result_index);
|
||||
}
|
||||
|
||||
pub const UriParseError = error{
|
||||
UriBadScheme,
|
||||
UriBadHexChar,
|
||||
UriBadEscape,
|
||||
OutOfMemory,
|
||||
};
|
||||
|
||||
// Original code: https://github.com/andersfr/zig-lsp/blob/master/uri.zig
|
||||
fn parseHex(c: u8) !u8 {
|
||||
return switch (c) {
|
||||
|
Loading…
Reference in New Issue
Block a user