Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Exists normalize the path but other operations do not. #389

Open
@agarant

Description

@agarant

Hi!

Currently, the exists function is normalizing the path but other operations (mv, cp, etc) are not. As a result you can find yourself in a situation where for a path, exists returns true but other operations (mv, cp, etc) will throw a "Does not exists error". One situation in particular is when the path is prefixed with file:///.

Is there a reason why the path is not normalized on cp, mv, etc ? I think that this would also solve #387

RNFB Version: 0.10.5
RN Version: 0.43.4

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions