Skip to content

Commit 2e7cae3

Browse files
committed
remove unused code
1 parent 722819e commit 2e7cae3

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/DocumentStore.zig

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -516,24 +516,6 @@ pub const Handle = struct {
516516
return .none;
517517
}
518518

519-
fn getAssociatedBuildFileUriDontResolve(self: *Handle) ?Uri {
520-
self.impl.lock.lock();
521-
defer self.impl.lock.unlock();
522-
523-
switch (self.impl.associated_build_file) {
524-
.init, .none, .unresolved => return null,
525-
.resolved => |build_file| return build_file.uri,
526-
}
527-
}
528-
529-
fn getReferencedBuildFiles(self: *Handle) []const *BuildFile {
530-
switch (self.impl.associated_build_file) {
531-
.init, .none => return &.{},
532-
.unresolved => |unresolved| return unresolved.potential_build_files, // some of these could be removed because of `has_been_checked`
533-
.resolved => |*build_file| return build_file[0..1],
534-
}
535-
}
536-
537519
fn getLazy(
538520
self: *Handle,
539521
comptime T: type,

0 commit comments

Comments
 (0)