2019-04-07 21:45:23 +00:00
|
|
|
package server
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
// On linux systems this will return the time that the file was created.
|
|
|
|
// However, I have no idea how to do this on windows, so we're skipping it
|
|
|
|
// for right now.
|
|
|
|
func (s *Stat) CTime() time.Time {
|
|
|
|
return s.Info.ModTime()
|
2020-09-05 19:08:40 +00:00
|
|
|
}
|