Searched defs:FileState (Results 1 – 1 of 1) sorted by relevance
33 struct FileState { struct39 explicit FileState(const std::string& filename) in FileState() argument45 FileState() : pos_(-1), pos_at_last_sync_(-1), pos_at_last_flush_(-1) {} in FileState() function47 bool IsFullySynced() const { return pos_ <= 0 || pos_ == pos_at_last_sync_; } in IsFullySynced()