srctree

Gregory Mullen parent 5dddcaae dacc9031
make usingnamespace pub for stdlib extentions

src/fs.zig added: 10, removed: 6, total 4
@@ -1,7 +1,9 @@
usingnamespace std.fs;
const std = @import("std");
const mem = @import("mem.zig");
 
pub usingnamespace std.fs;
const Allocator = mem.Allocator;
 
const mem = @import("mem.zig");
const log = @import("log");
const INotify = @import("inotify.zig");
const HSH = @import("hsh.zig").HSH;
 
src/mem.zig added: 10, removed: 6, total 4
@@ -1,6 +1,8 @@
const std = @import("std");
usingnamespace std.mem;
pub const Allocator = std.mem.Allocator;
 
const Allocator = std.mem.Allocator;
 
pub usingnamespace std.mem;
 
pub fn dupePadded(a: Allocator, str: []const u8, w: usize) ![]u8 {
const width = @max(str.len, w);