Menu

Commit [r397]  Maximize  Restore  History

The functions for differentiating between a file and a folder did not

handle 'other' filesystem objects correctly. I have now defined a file
to be a regular file, symbolic link (Unix only), socket (Unix only) or
named pipe. A folder is defined as just a directory. Character devices
and block devices (Unix only) are neither files nor folders.

andy_rushton 2010-07-29

changed /trunk/portability/file_system.cpp
changed /trunk/portability/file_system.hpp
/trunk/portability/file_system.cpp Diff Switch to side-by-side view
Loading...
/trunk/portability/file_system.hpp Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB