- Timestamp:
- 04/12/07 18:17:33 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/filepaths-20070306/server/lib/MogileFS/Plugin/FilePaths.pm
r803 r804 191 191 unless defined $nodeid; 192 192 193 if (get_file_mapping($nodeid)) { 194 return $self->err_line('not_a_directory', 'Path provided is not a directory'); 195 } 193 # TODO This is wrong, but we should throw an error saying 'not a directory'. Requires refactoring 194 # a bit of code to make the 'fid' value available from the last node we fetched. 195 # if (get_file_mapping($nodeid)) { 196 # return $self->err_line('not_a_directory', 'Path provided is not a directory'); 197 # } 196 198 197 199 # get files in path, return as an array
