PureSwift / SwiftFoundation

Cross-Platform, Protocol-Oriented Programming base library to complement the Swift Standard Library. (Pure Swift, Supports Linux)
MIT License
625 stars 52 forks source link

make file manager set function truncate opened file at first #38

Closed lvscar closed 8 years ago

lvscar commented 8 years ago

Without truncate opened file at first , the result of file manager set function did not meet expectation

colemancda commented 8 years ago

@lvscar Can you add a unit test for this? Also, Can you squat or rebase the commits? I dont feel 5 commits is justifiable for 1 LOC change.

lvscar commented 8 years ago

Ok, I will improve this PR.

lvscar commented 8 years ago

i will squash these commits and submit a new PR ;-)