ref: 63f4ce6387dea9f943ecc9c9f9b7af147560839d
dir: /lib/fileutil/loopcheck+plan9.myr/
use std
/* plan 9 can't have directory loops, by construction, so this is nops */
pkg fileutil =
type loopcheck = void
const mkloopcheck : (cwd : byte[:] -> loopcheck)
const freeloopcheck : (l : loopcheck -> void)
const looped : (l : loopcheck, p : byte[:] -> bool)
;;
const mkloopcheck = {cwd
-> (void : loopcheck)
}
const freeloopcheck = {l
}
const looped = {l, p
-> false
}