(host compiler.CompilerHost, fileName string)
| 36 | } |
| 37 | |
| 38 | func GetMTime(host compiler.CompilerHost, fileName string) time.Time { |
| 39 | stat := host.FS().Stat(fileName) |
| 40 | var mTime time.Time |
| 41 | if stat != nil { |
| 42 | mTime = stat.ModTime() |
| 43 | } |
| 44 | return mTime |
| 45 | } |