mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-11 21:33:15 +00:00

fs.getDrive returns nil for missing files, rather than the mount of the parent file. This is a bit confusing — other mount-related functions (e.g. getFreeSpace) find the nearest mount — but I think it's too late to change this. Instead, we check if the file exists first.