I'd venture to suggest File is more widely used because it was around
from the beginning, whereas Path is significantly more recent.
Once you know to look on the Files API, using Path is generally easy
and way preferable.
-- Jon
On 08/10/2018 08:23 AM, Stephen Colebourne wrote:
From what I ca
On Fri, Aug 10, 2018, 09:25 Stephen Colebourne wrote:
> From what I can see, File is more widely used than Path. Thats partly
> because using Path is non-obvious - it doesn't have any methods for
> doing anything.
>
> I've suggested before that a default method could be added, so you get
>
> pat
>From what I can see, File is more widely used than Path. Thats partly
because using Path is non-obvious - it doesn't have any methods for
doing anything.
I've suggested before that a default method could be added, so you get
path.operations().isReadable()
path.operations().readAllBytes()
path