Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/256dpi/gcode
/ info
Function
info
cmd/gcode/main.go:24–29 ·
view source on GitHub ↗
(c *command)
Source
from the content-addressed store, hash-verified
22
}
23
24
func
info(c *command) {
25
// load g-code file
26
file := loadFile(c.aInput)
27
28
fmt.Printf(
"Lines: %d"
, len(file.Lines))
29
}
30
31
func
strip(c *command) {
32
// load g-code file
Callers
1
main
Function · 0.85
Calls
1
loadFile
Function · 0.85
Tested by
no test coverage detected