lyft / clutch

Extensible platform for infrastructure management

Home Page:https://clutch.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scaffolding tool: support moving generate files to final location on two different filesystems

scarlettperry opened this issue · comments

Description

Custom report
...it still failed when moving the generated files in /tmp to the final location due to using (if I remember correctly) Go's os.Rename, which can't handle when src and dst dir is not the same filesystem. Ie. 2023/09/01 09:40:35 rename /tmp/clutch-scaffolding-89136008 /home/user/clutchtest: invalid cross-device link

Expected Behavior

Actual Behavior

Version

Other Context