quattor / CAF

Perl Common Application Framework
www.quattor.org
Other
4 stars 14 forks source link

CAF::Path: add a is_symlink() function #217

Closed jouvin closed 7 years ago

jouvin commented 7 years ago

If I understood properly the documentation, there is no trivial way of assessing that an existing file or directory is a symlink with CAF::Path, something that is sometimes desirable? What about adding is_symlink() function that could be used in conjunction with other xxx_exists() function to check if an object is a symlink?

stdweird commented 7 years ago

adding sym/hardlink support is on the todo list. just testing is not enough, also creating a link is required and the maventools need support for the new caf methods.