Skip to content

Checking a file or directory #24

Description

@bagomot

How to check if event.path is a file or a directory in an event? isDir and isFile don't work with it.

In my application, I want to check if a file in a directory has changed, but at the same time I get a notification that its directory has changed. I need to get just for the file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions