[PR #1532] [MERGED] Simplify substr manipulations with erase #2032

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1532
Author: @gaul
Created: 1/23/2021
Status: Merged
Merged: 1/25/2021
Merged by: @ggtakec

Base: masterHead: str/erase


📝 Commits (1)

  • 14eacae Simplify substr manipulations with erase

📊 Changes

8 files changed (+34 additions, -30 deletions)

View changed files

📝 src/addhead.cpp (+1 -1)
📝 src/cache.cpp (+1 -1)
📝 src/curl.cpp (+4 -3)
📝 src/curl_util.cpp (+8 -6)
📝 src/metaheader.cpp (+2 -2)
📝 src/s3fs.cpp (+13 -12)
📝 src/s3objlist.cpp (+3 -3)
📝 src/string_util.cpp (+2 -2)

📄 Description

This avoids creating a new std::string.


🔄 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/1532 **Author:** [@gaul](https://github.com/gaul) **Created:** 1/23/2021 **Status:** ✅ Merged **Merged:** 1/25/2021 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `str/erase` --- ### 📝 Commits (1) - [`14eacae`](https://github.com/s3fs-fuse/s3fs-fuse/commit/14eacaeea6d245e7ea0512494b6a747b2eb14621) Simplify substr manipulations with erase ### 📊 Changes **8 files changed** (+34 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `src/addhead.cpp` (+1 -1) 📝 `src/cache.cpp` (+1 -1) 📝 `src/curl.cpp` (+4 -3) 📝 `src/curl_util.cpp` (+8 -6) 📝 `src/metaheader.cpp` (+2 -2) 📝 `src/s3fs.cpp` (+13 -12) 📝 `src/s3objlist.cpp` (+3 -3) 📝 `src/string_util.cpp` (+2 -2) </details> ### 📄 Description This avoids creating a new `std::string`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:03:21 +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#2032
No description provided.