Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs stat(): Return dir stat with incomplete flag #2078

Merged
merged 1 commit into from
Mar 20, 2017

Conversation

vadmeste
Copy link
Member

fs.Stat() returns an error when the path corresponds to
a directory and incomplete flag is enabled. This PR follows
S3 client behavior and fixes the behavior.

Fixes #2064

fs.Stat() returns an error when the path corresponds to
a directory and incomplete flag is enabled. This PR follows
S3 client behavior and fixes the behavior.
@codecov-io
Copy link

codecov-io commented Mar 20, 2017

Codecov Report

Merging #2078 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #2078      +/-   ##
=========================================
+ Coverage     8.4%   8.44%   +0.04%     
=========================================
  Files          92      92              
  Lines        6814    6817       +3     
=========================================
+ Hits          573     576       +3     
  Misses       6104    6104              
  Partials      137     137
Impacted Files Coverage Δ
cmd/client-fs.go 23.53% <100%> (+0.32%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ebb916...60b6a55. Read the comment docs.

@harshavardhana harshavardhana merged commit 29920f8 into minio:master Mar 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mc ls --incomplete /tmp/ shows an error
3 participants