mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-07 03:20:50 +00:00
A large amount of cleanup for multipart uploads; preparation work for upcoming multi-threaded upload support.
Functional changes are limited to the multipart upload process. Each uploaded part is now verified against a local md5sum. git-svn-id: http://s3fs.googlecode.com/svn/trunk@318 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
parent
1a79d451c5
commit
00bde54d0a
|
@ -1,7 +1,7 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
AC_INIT(s3fs, 1.43)
|
||||
AC_INIT(s3fs, 1.44)
|
||||
|
||||
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
|
910
src/s3fs.cpp
910
src/s3fs.cpp
File diff suppressed because it is too large
Load Diff
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <curl/curl.h>
|
||||
#include <fuse.h>
|
||||
|
@ -90,6 +91,10 @@ static struct fuse_operations s3fs_oper;
|
|||
|
||||
string urlEncode(const string &s);
|
||||
string lookupMimeType(string);
|
||||
string initiate_multipart_upload(const char *path, off_t size, headers_t meta);
|
||||
string upload_part(const char *path, const char *source, int part_number, string upload_id);
|
||||
static int complete_multipart_upload(const char *path, string upload_id, int n_parts, vector <string> etags);
|
||||
string md5sum(const char *path);
|
||||
|
||||
static int get_stat_cache_entry(const char *path, struct stat *buf);
|
||||
static void add_stat_cache_entry(const char *path, struct stat *st);
|
||||
|
|
Loading…
Reference in New Issue
Block a user