diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-07-25 23:16:13 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-07-30 13:44:36 -0400 |
| commit | cc4552733351390aecab9ae900beb822237d6041 (patch) | |
| tree | 575c7ad933f2ea04c4125704a55dc823839af57e /std/event.zig | |
| parent | 5d4a02c350a18a70cf1f92f6638b5d26689c16b4 (diff) | |
| download | zig-cc4552733351390aecab9ae900beb822237d6041.tar.gz zig-cc4552733351390aecab9ae900beb822237d6041.zip | |
introduce std.event.fs for async file system functions
only works on linux so far
Diffstat (limited to 'std/event.zig')
| -rw-r--r-- | std/event.zig | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/std/event.zig b/std/event.zig index 1e52086286..9b692ecd44 100644 --- a/std/event.zig +++ b/std/event.zig @@ -1,17 +1,19 @@ +pub const Channel = @import("event/channel.zig").Channel; +pub const Future = @import("event/future.zig").Future; +pub const Group = @import("event/group.zig").Group; +pub const Lock = @import("event/lock.zig").Lock; pub const Locked = @import("event/locked.zig").Locked; pub const Loop = @import("event/loop.zig").Loop; -pub const Lock = @import("event/lock.zig").Lock; +pub const fs = @import("event/fs.zig"); pub const tcp = @import("event/tcp.zig"); -pub const Channel = @import("event/channel.zig").Channel; -pub const Group = @import("event/group.zig").Group; -pub const Future = @import("event/future.zig").Future; test "import event tests" { + _ = @import("event/channel.zig"); + _ = @import("event/fs.zig"); + _ = @import("event/future.zig"); + _ = @import("event/group.zig"); + _ = @import("event/lock.zig"); _ = @import("event/locked.zig"); _ = @import("event/loop.zig"); - _ = @import("event/lock.zig"); _ = @import("event/tcp.zig"); - _ = @import("event/channel.zig"); - _ = @import("event/group.zig"); - _ = @import("event/future.zig"); } |
