File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -97,23 +97,6 @@ public class DirectoryMonitor {
9797 }
9898 }
9999 case . dir:
100- guard !self . childChanged else {
101- self . childChanged = false
102- return
103- }
104- // switch data {
105- // case .all: print("all")
106- // case .attrib: print("attrib")
107- // case .delete: print("delete")
108- // case .extend: print("extend")
109- // case .funlock: print("unlock:")
110- // case .link: print("ink:")
111- // case .rename: print("ename:")
112- // case .revoke: print("revoke")
113- // case .write: print("write")
114- // default:
115- // print("unknown")
116- // }
117100 self . parent? . childChanged = true
118101 self . lastChangedDate = Date ( )
119102 if let urls = try ? FileManager . default. contentsOfDirectory ( atPath: self . url. path) . map ( { self . url. appendingPathComponent ( $0) } ) {
You can’t perform that action at this time.
0 commit comments