5 writes to _mTime
System.Formats.Tar (5)
System\Formats\Tar\TarEntry.cs (1)
108
_header.
_mTime
= value;
System\Formats\Tar\TarHeader.cs (1)
95
_mTime
= mTime;
System\Formats\Tar\TarHeader.Read.cs (1)
126
_mTime
= mTime;
System\Formats\Tar\TarHeader.Write.cs (1)
440
_mTime
= DateTimeOffset.MinValue, // 0
System\Formats\Tar\TarWriter.Unix.cs (1)
65
entry._header.
_mTime
= TarHelpers.GetDateTimeOffsetFromSecondsSinceEpoch(status.MTime);
10 references to _mTime
System.Formats.Tar (10)
System\Formats\Tar\GnuTarEntry.cs (2)
36
_header._aTime = _header.
_mTime
; // mtime was set in base constructor
37
_header._cTime = _header.
_mTime
;
System\Formats\Tar\PaxTarEntry.cs (4)
57
Debug.Assert(_header.
_mTime
!= default);
99
Debug.Assert(_header.
_mTime
!= default);
161
Debug.Assert(!useMTime || (useMTime && _header.
_mTime
!= default));
167
string secondsFromEpochString = TarHelpers.GetTimestampStringFromDateTimeOffset(useMTime ? _header.
_mTime
: DateTimeOffset.UtcNow);
System\Formats\Tar\TarEntry.cs (1)
101
get => _header.
_mTime
;
System\Formats\Tar\TarHeader.cs (1)
105
: this(format, other._name, other._mode, other.
_mTime
, typeFlag)
System\Formats\Tar\TarHeader.Write.cs (2)
637
checksum += WriteAsTimestamp(
_mTime
, buffer.Slice(FieldLocations.MTime, FieldLengths.MTime));
911
ExtendedAttributes[PaxEaMTime] = TarHelpers.GetTimestampStringFromDateTimeOffset(
_mTime
);