[PR #1679] [MERGED] Prefer std::string::empty over length == 0 #2109

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1679
Author: @gaul
Created: 6/13/2021
Status: Merged
Merged: 6/13/2021
Merged by: @ggtakec

Base: masterHead: empty


📝 Commits (1)

  • f145bde Prefer std::string::empty over length == 0

📊 Changes

7 files changed (+18 additions, -18 deletions)

View changed files

📝 src/addhead.cpp (+1 -1)
📝 src/curl.cpp (+2 -2)
📝 src/curl.h (+2 -2)
📝 src/curl_util.cpp (+2 -2)
📝 src/s3fs.cpp (+6 -6)
📝 src/s3fs_xml.cpp (+2 -2)
📝 src/s3objlist.cpp (+3 -3)

📄 Description

This is more concise.


🔄 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/1679 **Author:** [@gaul](https://github.com/gaul) **Created:** 6/13/2021 **Status:** ✅ Merged **Merged:** 6/13/2021 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `empty` --- ### 📝 Commits (1) - [`f145bde`](https://github.com/s3fs-fuse/s3fs-fuse/commit/f145bde59db3e7889763532da78c3439d6898148) Prefer std::string::empty over length == 0 ### 📊 Changes **7 files changed** (+18 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/addhead.cpp` (+1 -1) 📝 `src/curl.cpp` (+2 -2) 📝 `src/curl.h` (+2 -2) 📝 `src/curl_util.cpp` (+2 -2) 📝 `src/s3fs.cpp` (+6 -6) 📝 `src/s3fs_xml.cpp` (+2 -2) 📝 `src/s3objlist.cpp` (+3 -3) </details> ### 📄 Description This is more concise. --- <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:44 +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#2109
No description provided.