diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2021-01-26 14:30:32 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2022-03-17 09:01:01 -0700 |
commit | a7de2fa380dd397a0a1c3e23629074adf06d2604 (patch) | |
tree | 39680020f44757acaa00ab7682c039a0e0d0244a /.github/ISSUE_TEMPLATE | |
parent | b60a0eea012587acef308d6df573454965aa8837 (diff) | |
download | spack-a7de2fa380dd397a0a1c3e23629074adf06d2604.tar.gz spack-a7de2fa380dd397a0a1c3e23629074adf06d2604.tar.bz2 spack-a7de2fa380dd397a0a1c3e23629074adf06d2604.tar.xz spack-a7de2fa380dd397a0a1c3e23629074adf06d2604.zip |
Create rename utility function
os.rename() fails on Windows if file already exists.
Create getuid utility function (#21736)
On Windows, replace os.getuid with ctypes.windll.shell32.IsUserAnAdmin().
Tests: Use getuid util function
Co-authored-by: lou.lawrence@kitware.com <lou.lawrence@kitware.com>
Co-authored-by: Betsy McPhail <betsy.mcphail@kitware.com>
Diffstat (limited to '.github/ISSUE_TEMPLATE')
0 files changed, 0 insertions, 0 deletions