mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2330] [MERGED] Simplify the determination of the --cached option of the stat #2481
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2481
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2330
Author: @ggtakec
Created: 9/24/2023
Status: ✅ Merged
Merged: 9/24/2023
Merged by: @gaul
Base:
master← Head:simplify_statopt📝 Commits (1)
e08ea81Simplify the determination of the --cached option of the stat📊 Changes
1 file changed (+3 additions, -9 deletions)
View changed files
📝
test/test-utils.sh(+3 -9)📄 Description
Relevant Issue (if applicable)
#2319
Details
Change the judgment statement for whether the
statcommand has the--cachedoption.This is determined based on the
OSandversion, but this method may require further modifications in the future.Therefore, I changed it to simply check the result of
stat --cached=never.(My comment in #2319 was not simplified, so this is a correction)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
pthread_tto C++11std::thread#2566