Tomáš Hozza
43e87632fb
Drop common.CurrentArch() in favor of osbuild/images
...
Drop `common.CurrentArch()` implementation and use
`arch.Current().String()` from the osbuild/images instead.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2024-01-26 11:32:34 +01:00
Martin Sehnoutka
7d6dadb598
internal/common: introduce function to convert data sizes
...
This function will be used to parse filesystem sizes specified as
string.
2021-11-02 18:32:47 +01:00
Brian C. Lane
b476078570
Move isStringInSlice to common.IsStringInSlice
2021-07-12 08:58:42 +02:00
Jakub Rusz
1cf2af10d0
tests: add coverage for common/helpers.go
...
This also changes the helpers.go to enable mocking all the different architectures.
2020-04-02 09:14:40 +02:00