MCPcopy Create free account
hub / github.com/libgit2/pygit2 / close

Method close

pygit2/filter.py:109–120  ·  view source on GitHub ↗

Close this filter. `close()` will be called once per stream whenever all writes() to this stream have been completed. Parameters: write_next: The ``write()`` method of the next filter in the chain. Any remaining filtered output data must

(self, write_next: Callable[[bytes], None])

Source from the content-addressed store, hash-verified

107 write_next(data)
108
109 def close(self, write_next: Callable[[bytes], None]) -> None:
110 """
111 Close this filter.
112
113 `close()` will be called once per stream whenever all writes() to this
114 stream have been completed.
115
116 Parameters:
117 write_next: The ``write()`` method of the next filter in the chain.
118 Any remaining filtered output data must be written to
119 `write_next` before returning.
120 """
121
122
123class FilterList:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected