octopus-foundation / gremlin.zig

A zero-dependency Google Protocol Buffers implementation in pure Zig. Single allocation encode and lazy decode
MIT License
128 stars 3 forks source link

findProtoFiles: Add iterate permission to Dir.open to fix path search bug (Fixes #2) #3

Open jLevere opened 4 days ago

jLevere commented 4 days ago

Fixes #2: Directories are not opened with iterate permissions.

See the Zig documentation on Dir.OpenOptions as mentioned in the issue replies: #2 comment.

Tested on zig version 0.14.0-dev.2271+f845fa04a