Skip to content

FileSystemAccess.fileExists returns true for directory as well #1534

Description

@atanasovg

Since in Java a File object represents both a directory and a file, we need to check not only for exists but for isDirectory as well:
https://github.com/NativeScript/NativeScript/blob/master/file-system/file-system-access.android.ts#L78

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions