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

*: windows support #24

Merged
merged 1 commit into from
Apr 17, 2017
Merged

*: windows support #24

merged 1 commit into from
Apr 17, 2017

Conversation

mcuadros
Copy link
Contributor

Windows support review

@codecov
Copy link

codecov bot commented Apr 15, 2017

Codecov Report

Merging #24 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   89.14%   89.22%   +0.08%     
==========================================
  Files           6        6              
  Lines         433      427       -6     
==========================================
- Hits          386      381       -5     
  Misses         27       27              
+ Partials       20       19       -1
Impacted Files Coverage Δ
subdir/subdir.go 85.45% <100%> (-3.84%) ⬇️
subdir/file.go 90% <100%> (+10%) ⬆️

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 8fc9d0d...829cad3. Read the comment docs.

@mcuadros mcuadros requested review from ajnavarro and smola April 15, 2017 23:52
@@ -33,7 +33,7 @@ func (s *subdirFs) Create(filename string) (billy.File, error) {
return nil, err
}

return newFile(f, filename), nil
return newFile(s, f, filename), nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this logic inside the newFile method (filename = fs.Join(fs.Base(), filename)) should be outside. Then the newFile method can only receive a billy.File and a path.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but then you need to copy paste the same line three times

@mcuadros mcuadros merged commit 0661b96 into src-d:master Apr 17, 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.

3 participants