mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-10-23 01:47:38 +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.