diff options
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index 770be530..0470884d 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -708,4 +708,16 @@ char Buffer::byte_at(BufferCoord c) const return m_lines[c.line].content[c.column]; } +time_t Buffer::fs_timestamp() const +{ + kak_assert(m_flags & Flags::File); + return m_fs_timestamp; +} + +void Buffer::set_fs_timestamp(time_t ts) +{ + kak_assert(m_flags & Flags::File); + m_fs_timestamp = ts; +} + } |
