[PR #2467] [MERGED] Prefer std::string::clear where possible #2553

Closed
opened 2026-03-04 02:06:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2467
Author: @gaul
Created: 6/9/2024
Status: Merged
Merged: 6/10/2024
Merged by: @ggtakec

Base: masterHead: string/clear


📝 Commits (1)

  • 5de2e51 Prefer std::string::clear where possible

📊 Changes

9 files changed (+23 additions, -23 deletions)

View changed files

📝 src/curl.cpp (+6 -6)
📝 src/fdcache.cpp (+1 -1)
📝 src/fdcache_entity.cpp (+5 -5)
📝 src/fdcache_fdinfo.cpp (+1 -1)
📝 src/s3fs.cpp (+4 -4)
📝 src/s3fs_cred.cpp (+1 -1)
📝 src/s3objlist.cpp (+3 -3)
📝 src/types.h (+1 -1)
📝 test/write_multiblock.cc (+1 -1)

📄 Description

This is somewhat more clear and is declared noexcept.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2467 **Author:** [@gaul](https://github.com/gaul) **Created:** 6/9/2024 **Status:** ✅ Merged **Merged:** 6/10/2024 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `string/clear` --- ### 📝 Commits (1) - [`5de2e51`](https://github.com/s3fs-fuse/s3fs-fuse/commit/5de2e516cd1ba57bd7713f79693dfacb2cce512a) Prefer std::string::clear where possible ### 📊 Changes **9 files changed** (+23 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+6 -6) 📝 `src/fdcache.cpp` (+1 -1) 📝 `src/fdcache_entity.cpp` (+5 -5) 📝 `src/fdcache_fdinfo.cpp` (+1 -1) 📝 `src/s3fs.cpp` (+4 -4) 📝 `src/s3fs_cred.cpp` (+1 -1) 📝 `src/s3objlist.cpp` (+3 -3) 📝 `src/types.h` (+1 -1) 📝 `test/write_multiblock.cc` (+1 -1) </details> ### 📄 Description This is somewhat more clear and is declared `noexcept`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:06:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2553
No description provided.