[PR #2369] [MERGED] s3fs: make dir size not zero #2504

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2369
Author: @eryugey
Created: 11/17/2023
Status: Merged
Merged: 11/17/2023
Merged by: @gaul

Base: masterHead: dev


📝 Commits (1)

  • dcdb451 s3fs: make dir size not zero

📊 Changes

2 files changed (+8 additions, -1 deletions)

View changed files

📝 src/cache.cpp (+5 -1)
📝 src/s3fs.cpp (+3 -0)

📄 Description

Directory has size 0, which looks weired and may confuse users. So fake dir size as 4k.


🔄 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/2369 **Author:** [@eryugey](https://github.com/eryugey) **Created:** 11/17/2023 **Status:** ✅ Merged **Merged:** 11/17/2023 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `dev` --- ### 📝 Commits (1) - [`dcdb451`](https://github.com/s3fs-fuse/s3fs-fuse/commit/dcdb45110fac9c72488bc4b8be17b0e0006cdf6c) s3fs: make dir size not zero ### 📊 Changes **2 files changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cache.cpp` (+5 -1) 📝 `src/s3fs.cpp` (+3 -0) </details> ### 📄 Description Directory has size 0, which looks weired and may confuse users. So fake dir size as 4k. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:05:53 +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#2504
No description provided.