question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add `trash.sync()`

See original GitHub issue

Please consider adding trash.sync() as a synchronous option.

It would be convenient for users of fs-extra to pair its sync/async functions appropriately with trash.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Pomaxcommented, May 14, 2019

Late to the party, but remember that await is supported by lots of things, including Node.js, so if you need trash.sync: already covered by Javascript itself (thanks to trash returning a promise)

0reactions
Pomaxcommented, May 19, 2021

sorry, was thinking of something else: the current README.md already covers exactly what I wrote about 2 years ago: https://github.com/sindresorhus/trash#usage

Read more comments on GitHub >

github_iconTop Results From Across the Web

TRaSH Sync
Automatically mirror TRaSH guides to your Sonarr/Radarr instance based on your setup scheduler. Instructions. Questions or Suggestions? If you ...
Read more >
TRaSH Sync - Notifiarr Wiki
This integration allows you to setup and sync TRaSH guides with Radarr and Sonarr ... Add Starr Apps to the Client in the...
Read more >
How to remove .Trash folder from iCloud? - Ask Different
iCloud seems to sync the mac's trash folder to the cloud. How do I remove/exclude it from there? If I try to delete...
Read more >
Why won't my Trash folder sync? - Apple Support Communities
On the iphone: 1. Settings –> Mail, Contacts, Calendars –> Accounts (choose the email address above Add Account) –> Toggle Mail to “OFF”....
Read more >
Sync Folders Pro
Automatic scheduled synchronization. Synchronization any number of pair folders at same time. Auto-updating help in the app. Periodically adding answers to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found