MCPcopy Create free account
hub / github.com/AGWA/git-crypt / reset_buffer

Method reset_buffer

fhstream.hpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 size_t buffer_size;
45
46 inline void reset_buffer ()
47 {
48 std::streambuf::setp(buffer, buffer + buffer_size - 1);
49 }
50 static inline bool is_eof (int_type ch) { return traits_type::eq_int_type(ch, traits_type::eof()); }
51
52 // Disallow copy

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected