summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2021-01-26 14:30:32 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2022-03-17 09:01:01 -0700
commita7de2fa380dd397a0a1c3e23629074adf06d2604 (patch)
tree39680020f44757acaa00ab7682c039a0e0d0244a /.github
parentb60a0eea012587acef308d6df573454965aa8837 (diff)
downloadspack-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')
0 files changed, 0 insertions, 0 deletions