(opts []string)
| 395 | } |
| 396 | |
| 397 | func hasDirectIO(opts []string) (bool, []string) { |
| 398 | for idx, opt := range opts { |
| 399 | if opt == "direct-io" { |
| 400 | return true, append(opts[:idx], opts[idx+1:]...) |
| 401 | } |
| 402 | } |
| 403 | return false, opts |
| 404 | } |
| 405 | |
| 406 | // compactLowerdirOption updates overlay lowdir option and returns the common |
| 407 | // dir among all the lowdirs. |
no outgoing calls
no test coverage detected
searching dependent graphs…