文件系统的通知已更改? [英] Notifications for file system changed?
本文介绍了文件系统的通知已更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在磁盘栏上实现了一个可用空间,当文件被复制时,可用空间栏更新。我需要一些方式通知文件系统更改。
I'm implementing a free space on disk bar where while files are being copied, the free space bar updates. I need some way of being notified of file system changes. What's the best way to go about doing this?
推荐答案
文件系统事件编程指南具有所需的所有信息。您要使用文件系统事件API(OS X 10.5及更高版本)注册。
The File System Events Programming Guide has all the info you need. You want to register with the File System Events API (OS X 10.5 and later).
这篇关于文件系统的通知已更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文