We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当一个文件夹下有大量文件时,比如好几千个,此时上传一个文件,因为默认重名文件会被直接覆盖,而查询是否重名会先获得文件列表,大量时间将会花费在get_file_list函数上,应该给upload_file函数添加一个是否覆盖重名文件的参数,由用户决定是否需要重名覆盖,或者再添加一个去重名文件函数,这样只需要在上传完所有要上传的文件之后调用一次或者用户自己手动调用,而不是每次上传都调用一次
get_file_list
upload_file
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当一个文件夹下有大量文件时,比如好几千个,此时上传一个文件,因为默认重名文件会被直接覆盖,而查询是否重名会先获得文件列表,大量时间将会花费在
get_file_list
函数上,应该给upload_file
函数添加一个是否覆盖重名文件的参数,由用户决定是否需要重名覆盖,或者再添加一个去重名文件函数,这样只需要在上传完所有要上传的文件之后调用一次或者用户自己手动调用,而不是每次上传都调用一次The text was updated successfully, but these errors were encountered: