MCPcopy Index your code
hub / github.com/256dpi/gcode / strip

Function strip

cmd/gcode/main.go:31–40  ·  view source on GitHub ↗
(c *command)

Source from the content-addressed store, hash-verified

29}
30
31func strip(c *command) {
32 // load g-code file
33 file := loadFile(c.aInput)
34
35 // strip comments
36 gcode.StripComments(file)
37
38 // write g-code file
39 writeFile(c.aOutput, file)
40}
41
42func offset(c *command) {
43 // load g-code file

Callers 1

mainFunction · 0.85

Calls 3

StripCommentsFunction · 0.92
loadFileFunction · 0.85
writeFileFunction · 0.85

Tested by

no test coverage detected