2 ms·
A reference to the current directory is needed in order to open relative filenames. You could conceivably retain a string path rather than a reference, but the
by toast0 3y ago
A reference to the current directory is needed in order to open relative filenames. You could conceivably retain a string path rather than a reference, but the behavior would be different when directories are renamed or unlinked.