12 lines
263 B
Go
12 lines
263 B
Go
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()
|
|
} |