-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path: listdir method to return directory entry names #230
Conversation
Main reason to wrap this is to able to unittest readdir in maven-tools with the mocked files |
0752cac
to
f8e8966
Compare
0d7586b
to
a242e77
Compare
src/main/perl/FileWriter.pm
Outdated
# Pass NoAction here, as it keeps track of the NoAction value during initialisation and/or keeps_state | ||
my $cafpath = CAF::Path::mkcafpath(log => *$self->{LOG}, NoAction => $options->{noaction}); | ||
# only create the directory if it didn't exist yet | ||
# if not, this would for the directory mode on existing directories |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line doesn't make sense. "this would [what?] for the"
…r/readdir/closedir)
…to create the parent directory
@stdweird I thought I had seen that odd sentence before, and assumed I had just reviewed this PR before! |
@ned21 i added a new commit to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, @ned21?
retest this please |
Based on #243