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

0.2.0 #15

Merged
merged 16 commits into from
Jan 4, 2022
Merged

0.2.0 #15

merged 16 commits into from
Jan 4, 2022

Conversation

veeso
Copy link
Owner

@veeso veeso commented Jan 4, 2022

RemoteFS 0.2.0

Changelog

0.2.0

  • Moved protocols to extern crates:
  • Merged File, Directory and Entry into a unique struct called File. File types (symlink, file, directory) are now differentiated by the file_type attribute in Metadata.
  • find method is now optional, via the find feature (enabled by default)
  • Implemented From trait for Metadata.
  • create and append will now return a WriteStream instead of a box, which will contain the inner stream which supports Write and may support Seek (according to the protocol).
  • read will now return a ReadStream instead of a box, which will contain the inner stream which supports Read and may support Seek (according to the protocol).
  • Metadata times (created, accessed and modified) are now Option<SystemTime> in order to provide the user to handle unset times, in case it is not supported by the remote server.
  • append_file, create_file and open_file will now return the amount of bytes transferred between the client and the server

@veeso veeso self-assigned this Jan 4, 2022
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1653057159

  • 163 of 245 (66.53%) changed or added relevant lines in 7 files are covered.
  • 44 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-18.0%) to 74.703%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/fs/file/metadata.rs 64 65 98.46%
src/fs/file/mod.rs 19 22 86.36%
src/fs/file/file_type.rs 26 31 83.87%
src/fs/mod.rs 0 29 0.0%
src/fs/stream.rs 46 90 51.11%
Files with Coverage Reduction New Missed Lines %
src/fs/file/permissions.rs 3 97.06%
src/fs/file/mod.rs 4 85.42%
src/fs/mod.rs 37 3.37%
Totals Coverage Status
Change from base Build 1558695137: -18.0%
Covered Lines: 440
Relevant Lines: 589

💛 - Coveralls

@veeso veeso merged commit bbad533 into main Jan 4, 2022
@veeso veeso deleted the 0.2.0 branch January 4, 2022 10:05
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.

None yet

3 participants