MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / main

Function main

pkg/extend/extend.go:329–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327}
328
329func main() {
330 flag.Parse()
331 findDrives()
332
333 if flag.NArg() == 0 {
334 if err := autoextend(fsTypeVar); err != nil {
335 log.Fatalf("%v", err)
336 }
337 } else {
338 for _, arg := range flag.Args() {
339 if err := extend(arg, fsTypeVar); err != nil {
340 log.Fatalf("%v", err)
341 }
342 }
343 }
344}

Callers

nothing calls this directly

Calls 3

autoextendFunction · 0.85
extendFunction · 0.85
findDrivesFunction · 0.70

Tested by

no test coverage detected