MCPcopy Create free account
hub / github.com/atomicgo/cursor / WithWriter

Method WithWriter

area.go:28–33  ·  view source on GitHub ↗

WithWriter sets the custom writer.

(writer Writer)

Source from the content-addressed store, hash-verified

26
27// WithWriter sets the custom writer.
28func (area Area) WithWriter(writer Writer) Area {
29 area.writer = writer
30 area.cursor = area.cursor.WithWriter(writer)
31
32 return area
33}
34
35// Clear clears the content of the Area.
36func (area *Area) Clear() {

Callers 1

SetTargetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected