PyFilesystem2 v2.2.0 Release Notes

Release Date: 2019-01-01 // over 5 years ago
  • A few methods have been renamed for greater clarity (but functionality remains the same).

    The old methods are now aliases and will continue to work, but will ๐Ÿ—„ issue a deprecation warning via the warnings module. โšก๏ธ Please update your code accordingly.

    • getbytes -> readbytes
    • getfile -> download
    • gettext -> readtext
    • setbytes -> writebytes
    • setbinfile -> upload
    • settext -> writetext

    ๐Ÿ”„ Changed

    • Changed default chunk size in copy_file_data to 1MB
    • โž• Added chunk_size and options to FS.upload