• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
kFSEventStreamEventFlagItemRenamed is for rename or trash ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kFSEventStreamEventFlagItemRenamed is for rename or trash ?


  • Subject: kFSEventStreamEventFlagItemRenamed is for rename or trash ?
  • From: Alfian Busyro <email@hidden>
  • Date: Thu, 11 Oct 2012 19:01:04 +0900

Hi guys,

I getting confuse because of FSEvents.
Folder or file rename event and move to trash event are have the same event flags that triggered on the system. (which shows below)
kFSEventStreamEventFlagNone
kFSEventStreamEventFlagItemRenamed
kFSEventStreamEventFlagItemIsDir (for folder), kFSEventStreamEventFlagItemIsFile (for file)
So what is the differences between these two events (rename and trash) ?
In other word, how I can recognize these two events ?

Regards,
Alfian
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: kFSEventStreamEventFlagItemRenamed is for rename or trash ?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: NSButton Doesn't Respond to Click When it's inside M3NavigationView
  • Next by Date: copy in WebView
  • Previous by thread: NSButton Doesn't Respond to Click When it's inside M3NavigationView
  • Next by thread: Re: kFSEventStreamEventFlagItemRenamed is for rename or trash ?
  • Index(es):
    • Date
    • Thread