[PR #1373] [MERGED] Use scoped enums for acl_t, sse_type_t, and storage_class_t #1942

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1373
Author: @gaul
Created: 8/20/2020
Status: Merged
Merged: 8/20/2020
Merged by: @ggtakec

Base: masterHead: enum


📝 Commits (1)

  • 60d456a Use scoped enums for acl_t, sse_type_t, and storage_class_t

📊 Changes

4 files changed (+261 additions, -182 deletions)

View changed files

📝 src/curl.cpp (+53 -115)
📝 src/curl.h (+5 -36)
📝 src/s3fs.cpp (+21 -31)
src/types.h (+182 -0)

📄 Description

This prevents some kinds of implicit conversions. Also deduplicate
str/from_str logic. References #1371.


🔄 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/1373 **Author:** [@gaul](https://github.com/gaul) **Created:** 8/20/2020 **Status:** ✅ Merged **Merged:** 8/20/2020 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `enum` --- ### 📝 Commits (1) - [`60d456a`](https://github.com/s3fs-fuse/s3fs-fuse/commit/60d456a993fd24990e4743e2bf2f51f805287070) Use scoped enums for acl_t, sse_type_t, and storage_class_t ### 📊 Changes **4 files changed** (+261 additions, -182 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+53 -115) 📝 `src/curl.h` (+5 -36) 📝 `src/s3fs.cpp` (+21 -31) ➕ `src/types.h` (+182 -0) </details> ### 📄 Description This prevents some kinds of implicit conversions. Also deduplicate `str`/`from_str` logic. References #1371. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:02:54 +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#1942
No description provided.