mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
update c/{buildah,common,image,storage} to latest main
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
10
vendor/github.com/containers/common/pkg/config/config_unix.go
generated
vendored
10
vendor/github.com/containers/common/pkg/config/config_unix.go
generated
vendored
@@ -9,6 +9,10 @@ import (
|
||||
"github.com/containers/storage/pkg/unshare"
|
||||
)
|
||||
|
||||
// _configPath is the path to the containers/containers.conf
|
||||
// inside a given config directory.
|
||||
const _configPath = "containers/containers.conf"
|
||||
|
||||
// userConfigPath returns the path to the users local config that is
|
||||
// not shared with other users. It uses $XDG_CONFIG_HOME/containers...
|
||||
// if set or $HOME/.config/containers... if not.
|
||||
@@ -23,3 +27,9 @@ func userConfigPath() (string, error) {
|
||||
|
||||
return filepath.Join(home, UserOverrideContainersConfig), nil
|
||||
}
|
||||
|
||||
// overrideContainersConfigPath returns the default config path overridden
|
||||
// by the root user
|
||||
func overrideContainersConfigPath() (string, error) {
|
||||
return OverrideContainersConfig, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user