reef icon indicating copy to clipboard operation
reef copied to clipboard

[REEF-2036] Add IFileSystem api to check if uri is a directory

Open dwaijam opened this issue 6 years ago • 0 comments

[REEF-2036] Add IFileSystem api to check if uri is a directory

Currently, there is no way to check if a location specified by a uri is a directory or not. The only way to check it is by calling fs.GetChildren and checking for an exception. There should be a more graceful way of doing this check by adding an api. This change addresses this.

JIRA: REEF-2036

Pull request: This closes 1473

dwaijam avatar Jun 09 '18 05:06 dwaijam