/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/replacefile/doc.go
15 строк
681 B
Radek Simko
make copyrightfix
17 фев 2026, 16:56
17 фев 2026, 16:56
0fe906f
Код
Авторство
О чём код?
// Copyright IBM Corp. 2014, 2026 // SPDX-License-Identifier: BUSL-1.1 // Package replacefile is a small helper package focused directly at the // problem of atomically "renaming" one file over another one. // // On Unix systems this is the standard behavior of the rename function, but // the equivalent operation on Windows requires some specific operation flags // which this package encapsulates. // // This package uses conditional compilation to select a different // implementation for Windows vs. all other platforms. It may therefore // require further fiddling in future if Terraform is ported to another // OS that is neither Unix-like nor Windows. package replacefile