!!!--
来自: Golang-China ~ 中文Go语言技术邮件列表
详情: http://groups.google.com/group/golang-china
官网: http://golang-china.org/
IRC: irc.freenode.net #golang-china
@golangchina
需求是 windows2003,监控某些目录下指定扩展名文件是否被修改,并将修改或替换的时间等信息写入文本日志。利用go本身的库实现有可能吗?如何下手?求教?
Google一下很容易就可以找到相关的Windows API,比如”FindFirstChangeNotification“。
Github上找到一个例子
https://github.com/howeyc/fsnotify
From: golang...@googlegroups.com [mailto:golang...@googlegroups.com] On Behalf Of lihui
Sent: Thursday, March 29, 2012 7:12 PM
To: golang...@googlegroups.com
如何实现windows系统下的文件修改监控?