mirror of https://github.com/docker/docs.git
`filepath.Abs` does more than just `filepath.IsAbs` - namely, `filepath.Clean`, which resolves things like `.../.` or `.../../...`, and causes even an absolute path like `/some/path/../absolute` to fail (or, in my case, `/path/to/docker/.`) Just using `filepath.IsAbs` directly is a much cheaper check, too. :) Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon) |
||
---|---|---|
.. | ||
execdriver | ||
graphdriver | ||
networkdriver | ||
container.go | ||
container_unit_test.go | ||
history.go | ||
runtime.go | ||
runtime_aufs.go | ||
runtime_btrfs.go | ||
runtime_devicemapper.go | ||
runtime_no_aufs.go | ||
server.go | ||
sorter.go | ||
state.go | ||
utils.go | ||
utils_test.go | ||
volumes.go |