Skip to content

Commit

Permalink
Merge pull request #55 from deepghs/dev/upload
Browse files Browse the repository at this point in the history
dev(narugo): add multi-part uploading
  • Loading branch information
narugo1992 authored Nov 27, 2024
2 parents ae33c69 + 337acac commit 05c5f2c
Show file tree
Hide file tree
Showing 11 changed files with 347 additions and 127 deletions.
8 changes: 8 additions & 0 deletions docs/source/api_doc/archive/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,11 @@ get_archive_extname



archive_splitext
----------------------------------------

.. autofunction:: archive_splitext




15 changes: 15 additions & 0 deletions docs/source/api_doc/utils/ext.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
hfutils.utils.ext
=================================

.. currentmodule:: hfutils.utils.ext

.. automodule:: hfutils.utils.ext


splitext_with_composite
-------------------------------------------------

.. autofunction:: splitext_with_composite



1 change: 1 addition & 0 deletions docs/source/api_doc/utils/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ hfutils.utils
arrange
binary
data
ext
heap
download
model
Expand Down
2 changes: 1 addition & 1 deletion hfutils/archive/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
The creation of archive files in the RAR format is not supported, as we utilize the `rarfile <https://github.com/markokr/rarfile>`_ library, which does not offer functionality for creating RAR files.
"""
from .base import register_archive_type, archive_pack, archive_unpack, get_archive_type, get_archive_extname, \
archive_writer, ArchiveWriter
archive_writer, ArchiveWriter, archive_splitext
from .rar import _rar_pack, _rar_unpack, RARWriter
from .sevenz import _7z_pack, _7z_unpack, SevenZWriter
from .tar import _tarfile_pack, _tarfile_unpack, TarWriter
Expand Down
Loading

0 comments on commit 05c5f2c

Please sign in to comment.