copyOptions copies the options.
(opts []string)
| 492 | |
| 493 | // copyOptions copies the options. |
| 494 | func copyOptions(opts []string) []string { |
| 495 | if len(opts) == 0 { |
| 496 | return nil |
| 497 | } |
| 498 | |
| 499 | acopy := make([]string, len(opts)) |
| 500 | copy(acopy, opts) |
| 501 | return acopy |
| 502 | } |
| 503 | |
| 504 | // optionsSize returns the byte size of options of mount. |
| 505 | func optionsSize(opts []string) int { |
no outgoing calls
no test coverage detected
searching dependent graphs…