mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
Make bun pm ls only show top-level by default
This commit is contained in:
@@ -3983,3 +3983,12 @@ pub fn cloneNormalizingSeparators(
|
||||
|
||||
return buf[0 .. @ptrToInt(remain.ptr) - @ptrToInt(buf.ptr)];
|
||||
}
|
||||
|
||||
pub fn leftHasAnyInRight(to_check: []const string, against: []const string) bool {
|
||||
for (to_check) |check| {
|
||||
for (against) |item| {
|
||||
if (eqlLong(check, item, true)) return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user