chore: initial commit
This commit is contained in:
commit
9e5f5ef3cf
8 files changed
+206
No files matched your search
@@ -0,0 +1,6 @@
|
||||
const std = @import("std");
|
||||
|
||||
pub fn getUsername(allocator: std.mem.Allocator) ![]u8 {
|
||||
const username = try std.process.getEnvVarOwned(allocator, "USER");
|
||||
return username;
|
||||
}
|
||||
Reference in new issue
Block a user