Opened 14 years ago

Closed 13 years ago

#282 closed enhancement (fixed)

check for 'd' in FileUtil::permission

Reported by: Peter Owned by: Jari Häkkinen
Priority: trivial Milestone: yat 0.4
Component: utility Version: trunk
Keywords: Cc:

Description

Would it be possible to check whether file is a directory in FileUtil??

Change History (3)

comment:1 Changed 13 years ago by Markus Ringnér

  • As usual there is a nice Boost Library with all the functionality:

http://boost.org/libs/filesystem/doc/index.htm

  • Should not FileUtil::exists be changed to use F_OK so it becomes similar to FileUtil::permissions?

comment:2 Changed 13 years ago by Peter

Yes, I've seen that while wearing my svndigest jersey

http://trac.thep.lu.se/svndigest/ticket/299

I don't think this tiny functionality is enough to add a Boost requirement. Users are of course recommended to use Boost instead, but....

comment:3 Changed 13 years ago by Peter

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.