@@ -45,8 +45,8 @@ class FileImpl {
45
45
46
46
// Filesystems *may* support a timestamp per-file, so allow the user to override with
47
47
// their own callback for *this specific* file (as opposed to the FSImpl call of the
48
- // same name. The default implementation simply returns time(& null)
49
- virtual void setTimeCallback (time_t (*cb)(void )) { timeCallback = cb; }
48
+ // same name. The default implementation simply returns time(null)
49
+ virtual void setTimeCallback (time_t (*cb)(void )) { _timeCallback = cb; }
50
50
51
51
// Return the last written time for a file. Undefined when called on a writable file
52
52
// as the FS is allowed to return either the time of the last write() operation or the
@@ -56,7 +56,7 @@ class FileImpl {
56
56
virtual time_t getCreationTime () { return 0 ; } // Default is to not support timestamps
57
57
58
58
protected:
59
- time_t (*timeCallback )(void ) = nullptr ;
59
+ time_t (*_timeCallback )(void ) = nullptr ;
60
60
};
61
61
62
62
enum OpenMode {
@@ -90,11 +90,11 @@ class DirImpl {
90
90
91
91
// Filesystems *may* support a timestamp per-file, so allow the user to override with
92
92
// their own callback for *this specific* file (as opposed to the FSImpl call of the
93
- // same name. The default implementation simply returns time(& null)
94
- virtual void setTimeCallback (time_t (*cb)(void )) { timeCallback = cb; }
93
+ // same name. The default implementation simply returns time(null)
94
+ virtual void setTimeCallback (time_t (*cb)(void )) { _timeCallback = cb; }
95
95
96
96
protected:
97
- time_t (*timeCallback )(void ) = nullptr ;
97
+ time_t (*_timeCallback )(void ) = nullptr ;
98
98
};
99
99
100
100
class FSImpl {
@@ -118,11 +118,11 @@ class FSImpl {
118
118
119
119
// Filesystems *may* support a timestamp per-file, so allow the user to override with
120
120
// their own callback for all files on this FS. The default implementation simply
121
- // returns the present time as reported by time(& null)
122
- virtual void setTimeCallback (time_t (*cb)(void )) { timeCallback = cb; }
121
+ // returns the present time as reported by time(null)
122
+ virtual void setTimeCallback (time_t (*cb)(void )) { _timeCallback = cb; }
123
123
124
124
protected:
125
- time_t (*timeCallback )(void ) = nullptr ;
125
+ time_t (*_timeCallback )(void ) = nullptr ;
126
126
};
127
127
128
128
} // namespace fs
0 commit comments