File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -108,21 +108,16 @@ function pushex!(exsigs::ExprsSigs, ex::Expr)
108108end
109109
110110# # WatchList utilities
111- function systime ()
112- # It's important to use the same clock used by the filesystem
113- tv = Libc. TimeVal ()
114- tv. sec + tv. usec/ 10 ^ 6
115- end
116111function updatetime! (wl:: WatchList )
117- wl. timestamp = systime ()
112+ wl. timestamp = time ()
118113end
119114Base. push! (wl:: WatchList , filenameid:: Pair{<:AbstractString,PkgId} ) =
120115 push! (wl. trackedfiles, filenameid)
121116Base. push! (wl:: WatchList , filenameid:: Pair{<:AbstractString,PkgFiles} ) =
122117 push! (wl, filenameid. first=> filenameid. second. id)
123118Base. push! (wl:: WatchList , filenameid:: Pair{<:AbstractString,PkgData} ) =
124119 push! (wl, filenameid. first=> filenameid. second. info)
125- WatchList () = WatchList (systime (), Dict {String,PkgId} ())
120+ WatchList () = WatchList (time (), Dict {String,PkgId} ())
126121Base. in (file, wl:: WatchList ) = haskey (wl. trackedfiles, file)
127122
128123@static if Sys. isapple ()
You can’t perform that action at this time.
0 commit comments