KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FILE_STAMP Struct Reference

On-disk identity of one file, used to tell whether a git operation rewrote it. More...

#include <git_editor_snapshot.h>

Public Member Functions

bool operator== (const FILE_STAMP &aOther) const
 
bool operator!= (const FILE_STAMP &aOther) const
 

Public Attributes

long long modified = 0
 Modification time, nanoseconds where the platform provides them.
 
long long size = 0
 

Detailed Description

On-disk identity of one file, used to tell whether a git operation rewrote it.

Definition at line 30 of file git_editor_snapshot.h.

Member Function Documentation

◆ operator!=()

bool FILE_STAMP::operator!= ( const FILE_STAMP & aOther) const
inline

Definition at line 37 of file git_editor_snapshot.h.

◆ operator==()

bool FILE_STAMP::operator== ( const FILE_STAMP & aOther) const
inline

Definition at line 35 of file git_editor_snapshot.h.

References modified, and size.

Member Data Documentation

◆ modified

long long FILE_STAMP::modified = 0

Modification time, nanoseconds where the platform provides them.

Definition at line 32 of file git_editor_snapshot.h.

Referenced by operator==().

◆ size

long long FILE_STAMP::size = 0

Definition at line 33 of file git_editor_snapshot.h.

Referenced by operator==().


The documentation for this struct was generated from the following file: