MCPcopy Create free account
hub / github.com/tailscale/tailscale / BirthTime

Method BirthTime

drive/driveimpl/shared/stat.go:34–36  ·  view source on GitHub ↗

BirthTime implements webdav.BirthTimer

(_ context.Context)

Source from the content-addressed store, hash-verified

32
33// BirthTime implements webdav.BirthTimer
34func (fi *StaticFileInfo) BirthTime(_ context.Context) (time.Time, error) {
35 return fi.BirthedTime, fi.BirthedTimeErr
36}
37func (fi *StaticFileInfo) Name() string { return fi.Named }
38func (fi *StaticFileInfo) Size() int64 { return fi.Sized }
39func (fi *StaticFileInfo) Mode() os.FileMode { return fi.Moded }

Callers 2

TestBirthTimingFunction · 0.45
RenamedFileInfoFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestBirthTimingFunction · 0.36