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

Method reset_buffer

fhstream.hpp:99–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 size_t buffer_size;
98
99 inline void reset_buffer (size_t nputback, size_t nread)
100 {
101 std::streambuf::setg(buffer + (putback_size - nputback), buffer + putback_size, buffer + putback_size + nread);
102 }
103 // Disallow copy
104#if __cplusplus >= 201103L /* C++11 */
105 ifhbuf (const ifhbuf&) = delete;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected