Determine type of file action

Open
#24 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, r

Research direction

The issue names no files or tests, so start by reading the watcher package API and its filesystem-event handling. Trace how file changes are currently reported, then determine how created, changed, deleted, and renamed events could be distinguished; done means callers can select different actions for those event types.

Written by the indexing model from the issue text.

Description

feature

Thanks for this great package! I have previously used powershell (FileSystemWatcher), however this package works much easier. The powershell solution I used before did however have the option to perform different actions based on the type of change. For instance a different function can be called in case a file is changed, created, deleted or renamed.
I was wondering if something similar could be achieved with this package as well? I can find out what happened manually, based on the name of the file. But would be nice if there is a more elegant solution.

Dominant language
C++
Stars
38
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/watcher

All issues in r-lib/watcher

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.