pungi/pungi
Bohdan Khomutskyi 694b7f3d28 Optimize the _link_file function to not call os.stat redundantly.
This will eliminate 2 calls to os.stat per one invocation of the _link_file function.
Assuming during the compose build 50000 files are linked, this change will eliminate 100000 redundant calls to os.stat.

Jira: RHELCMP-797
Signed-off-by: Bohdan Khomutskyi <bkhomuts@redhat.com>
2020-05-21 10:13:28 +02:00
..
compose_metadata Format code base with black 2020-02-05 17:35:47 +08:00
ostree ostree: set umask to be more permissive for ostree operations 2020-04-17 09:20:24 +02:00
phases Support --skip-branding option in lorax 2020-05-14 11:49:40 +08:00
scripts Execute image_checksum phase right after the dependent phases 2020-05-08 16:12:30 +08:00
wrappers Support --skip-branding option in lorax 2020-05-14 11:49:40 +08:00
__init__.py Format code base with black 2020-02-05 17:35:47 +08:00
arch.py Format code base with black 2020-02-05 17:35:47 +08:00
arch_utils.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
checks.py Support --skip-branding option in lorax 2020-05-14 11:49:40 +08:00
common.py Format code base with black 2020-02-05 17:35:47 +08:00
compose.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
config.py Format code base with black 2020-02-05 17:35:47 +08:00
createiso.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
dnf_wrapper.py Format code base with black 2020-02-05 17:35:47 +08:00
gather.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
gather_dnf.py gather: Make additional_packages accept debuginfo packages 2020-02-12 16:38:08 +08:00
graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
ks.py Format code base with black 2020-02-05 17:35:47 +08:00
linker.py Optimize the _link_file function to not call os.stat redundantly. 2020-05-21 10:13:28 +02:00
media_split.py Format code base with black 2020-02-05 17:35:47 +08:00
metadata.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
module_util.py Move import of modulemd to a separate module 2019-10-03 10:40:31 +02:00
multilib_dnf.py Format code base with black 2020-02-05 17:35:47 +08:00
multilib_yum.py Format code base with black 2020-02-05 17:35:47 +08:00
notifier.py Format code base with black 2020-02-05 17:35:47 +08:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py pkgset: Reuse pkgset repos 2020-03-13 17:29:53 +08:00
profiler.py Format code base with black 2020-02-05 17:35:47 +08:00
runroot.py Format code base with black 2020-02-05 17:35:47 +08:00
util.py util: Fix regex for detecting debuginfo packages 2020-03-16 11:13:02 +01:00