mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-05 04:17:52 +00:00
cleanup
git-svn-id: http://s3fs.googlecode.com/svn/trunk@20 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
parent
f4c008b7d3
commit
8cf9564e12
@ -238,7 +238,6 @@ s3fs_getattr(const char *path, struct stat *stbuf) {
|
||||
}
|
||||
}
|
||||
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
@ -294,7 +293,6 @@ static int
|
||||
s3fs_mknod(const char *path, mode_t mode, dev_t rdev) {
|
||||
cout << "mknod: path="<< path << endl;
|
||||
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
@ -322,7 +320,6 @@ static int
|
||||
s3fs_mkdir(const char *path, mode_t mode) {
|
||||
cout << "mkdir: path=" << path << endl;
|
||||
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
@ -351,7 +348,6 @@ static int
|
||||
s3fs_unlink(const char *path) {
|
||||
cout << "unlink: path=" << path << endl;
|
||||
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
@ -377,7 +373,6 @@ static int
|
||||
s3fs_rmdir(const char *path) {
|
||||
cout << "unlink: path=" << path << endl;
|
||||
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
@ -435,7 +430,6 @@ s3fs_truncate(const char *path, off_t size) {
|
||||
|
||||
cout << "truncate:" << " path=" << path << " size=" << size << endl;
|
||||
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
@ -471,7 +465,6 @@ s3fs_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_fi
|
||||
cout << "read:"<< " path="<< path << " size="<< size << " offset="<< offset << endl;
|
||||
|
||||
string responseText;
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
@ -538,7 +531,6 @@ s3fs_flush(const char *path, struct fuse_file_info *fi) {
|
||||
if (fi->fh != 0) {
|
||||
string* requestText = reinterpret_cast<string*>(fi->fh);
|
||||
if ((*requestText).size() > 0) {
|
||||
string host = "http://s3.amazonaws.com";
|
||||
string resource = urlEncode("/"+bucket + path);
|
||||
string url = host + resource;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user