Skip to content

Filenames without path not handled on Windows #90

@JoannesJ

Description

@JoannesJ

Supplying watch() with just a filename and no path will result in a "parent directory could not be opened" error.

This is because Path.parent() doesn't return the actual path to the parent directory, but rather the original path minus the last entry, resulting in an empty string when given just a filename.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions