<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/util/system/tempfile.cpp, branch oidc-1.2.6</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.6</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=oidc-1.2.6'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-08-15T09:25:32Z</updated>
<entry>
<title>TTempFile should be move-only. Implement proper move semantics.</title>
<updated>2025-08-15T09:25:32Z</updated>
<author>
<name>akhropov</name>
<email>akhropov@yandex-team.com</email>
</author>
<published>2025-08-15T07:44:33Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=4528158cce9713da50392a22f80e9390fe37423e'/>
<id>urn:sha1:4528158cce9713da50392a22f80e9390fe37423e</id>
<content type='text'>
#### Реализация move-семантики для TTempFile и оптимизация передачи параметров 📝

- 🔄 **Сделал TTempFile move-only классом**:
  - Удалили копирующий конструктор и оператор присванивания
  - Добавили перемещающий конструктор и оператор с noexcept
  - Изменили хранение имени файла в TMaybe для безопасного перемещения
  - Добавили явное удаление временного файла в операторе перемещения

- 🏗 **Оптимизировали передачу параметров в различных классах**:
  - Заменили передачу объектов по значению/константной ссылке на перемещение (std::move)
  - Основные изменения коснулись параметров среды (envParams) и аргументов процессов

- ✨ **Улучшили обработку временных файлов**:
  - Убрали лишнее поле TTempFile из TSmallEnvParams
  - Вектор временных файлов теперь корректно хранится и обрабатывается через move-семантику

- 📝 **Прочие улучшения**:
  - Исправлены контексты вызовов, где используется временная файловая система
  - Оптимизированы аргументы запуска процессов через std::move
  - Добавлено перемещение для аргументов стандартных потоков ввода-вывода

---
**Оценить качество описания можно [здесь](https://nda.ya.ru/t/_MxIaV0Q7FnCMG**

&lt;a href="https://nda.ya.ru/t/qa0kX64r7DqvtN"&gt;&lt;font size="2"&gt;Autodescription by Code Assistant&lt;/font&gt;&lt;/a&gt;
commit_hash:474bcbb9db8c7dc14d7aa204991ecdb4611e8e87
</content>
</entry>
<entry>
<title>Restoring authorship annotation for Vlad Yaroslavlev &lt;vladon@vladon.com&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:46:25Z</updated>
<author>
<name>Vlad Yaroslavlev</name>
<email>vladon@vladon.com</email>
</author>
<published>2022-02-10T13:46:25Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=344ea37b4a345701ab0e67de2266a1c1bd7baf2d'/>
<id>urn:sha1:344ea37b4a345701ab0e67de2266a1c1bd7baf2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for Vlad Yaroslavlev &lt;vladon@vladon.com&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:46:23Z</updated>
<author>
<name>Vlad Yaroslavlev</name>
<email>vladon@vladon.com</email>
</author>
<published>2022-02-10T13:46:23Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=706b83ed7de5a473436620367af31fc0ceecde07'/>
<id>urn:sha1:706b83ed7de5a473436620367af31fc0ceecde07</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;gleb-kov@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:46:22Z</updated>
<author>
<name>gleb-kov</name>
<email>gleb-kov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=918e8a1574070d0ec733f0b76cfad8f8892ad2e5'/>
<id>urn:sha1:918e8a1574070d0ec733f0b76cfad8f8892ad2e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;gleb-kov@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:46:22Z</updated>
<author>
<name>gleb-kov</name>
<email>gleb-kov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:22Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7b1cfa32681104c8468c5824c79fd80d9a88a579'/>
<id>urn:sha1:7b1cfa32681104c8468c5824c79fd80d9a88a579</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;myltsev@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:46:03Z</updated>
<author>
<name>myltsev</name>
<email>myltsev@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=fc361854fd6ee8d747229b090f0b8018e260d1fb'/>
<id>urn:sha1:fc361854fd6ee8d747229b090f0b8018e260d1fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;myltsev@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:46:03Z</updated>
<author>
<name>myltsev</name>
<email>myltsev@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=9166d66c30c23c9e85a7c88185a068987148d23f'/>
<id>urn:sha1:9166d66c30c23c9e85a7c88185a068987148d23f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>intermediate changes</title>
<updated>2022-02-07T15:08:42Z</updated>
<author>
<name>Devtools Arcadia</name>
<email>arcadia-devtools@yandex-team.ru</email>
</author>
<published>2022-02-07T15:08:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1110808a9d39d4b808aef724c861a2e1a38d2a69'/>
<id>urn:sha1:1110808a9d39d4b808aef724c861a2e1a38d2a69</id>
<content type='text'>
ref:cde9a383711a11544ce7e107a78147fb96cc4029
</content>
</entry>
</feed>
