mirror of
https://github.com/pterodactyl/wings.git
synced 2025-12-10 14:18:11 -06:00
13 lines
263 B
Go
13 lines
263 B
Go
package filesystem
|
|
|
|
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.ModTime()
|
|
}
|