23d20c9db5
If a packager wants to be able to support addititional arguments on his hook this will allow them to setup the configuration with these arguments. For example this would allow a hook developer to add support for a --debug flag to change the level of debugging in his hook. In order to complete this task, I had to vendor in the latest github.com://opencontainers/runtime-tools, which caused me to have to fix a Mount and Capability interface calls Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
9 lines
216 B
Go
9 lines
216 B
Go
package filepath
|
|
|
|
import "strings"
|
|
|
|
// Join is an explicit-OS version of path/filepath's Join.
|
|
func Join(os string, elem ...string) string {
|
|
sep := Separator(os)
|
|
return Clean(os, strings.Join(elem, string(sep)))
|
|
}
|