jcabi / jcabi/jcabi-github

determining if the path point to file, directory or does not exist

Open
#1,218 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

if "a_path" points to a directory, then `contents().exists(a_path)` returns `true`, however `contents().get(a_path)` throws class cast exception as mentioned in #903

In the current implementation, there is no way to test is a path belongs to a directory without throwing-and-catching an exception

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.