mirror of
https://github.com/containers/podman.git
synced 2025-12-02 11:08:36 +08:00
Instead of duplicating the NewArtifactStore() call in many places and having to make sure we always pass the same path to it define it as function on the runtime. This allows any caller with access to the libpod runtime to create the store easily. This is suing a sync.OnceValues() function so the store is initialized only once and only when actually needed. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
46 KiB
46 KiB