aboutsummaryrefslogtreecommitdiff
path: root/src/which_npm_client.zig
blob: aa90622ca3d56e2904efdcb86d992b13bf59c063 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
usingnamespace @import("./global.zig");

const std = @import("std");

pub const NPMClient = struct {
    bin: string,
    tag: Tag,

    pub const Tag = enum {
        bun,
    };

    pub fn detect(allocator: *std.mem.Allocator, realpath_buf: *[std.fs.MAX_PATH_BYTES]u8, PATH: string, cwd: string, comptime allow_yarn: bool) !NPMClient {
      
    }
};