optionsSize returns the byte size of options of mount.
(opts []string)
| 503 | |
| 504 | // optionsSize returns the byte size of options of mount. |
| 505 | func optionsSize(opts []string) int { |
| 506 | size := 0 |
| 507 | for _, opt := range opts { |
| 508 | size += len(opt) |
| 509 | } |
| 510 | return size |
| 511 | } |
| 512 | |
| 513 | func mountAt(chdir string, source, target, fstype string, flags uintptr, data string) error { |
| 514 | if chdir == "" { |
no outgoing calls
no test coverage detected
searching dependent graphs…