1
0

Rename folder fixes

This commit is contained in:
Scott E. Graves
2017-05-17 18:58:42 -05:00
parent cb52206eee
commit 59b5a0a089
5 changed files with 77 additions and 16 deletions

View File

@@ -178,6 +178,7 @@ public:
CSiaError<_SiaApiErrorCode> GetFileTree(std::shared_ptr<_CSiaFileTree>& siaFileTree) const;
CSiaError<_SiaApiErrorCode> RefreshFileTree( );
CSiaError<_SiaApiErrorCode> RenameFile(const SString& siaPath, const SString& newSiaPath);
CSiaError<_SiaApiErrorCode> RenameFolder(const SString& siaPath, const SString& newSiaPath);
CSiaError<_SiaApiErrorCode> SetAllowance(const _SiaRenterAllowance& renterAllowance);
};

View File

@@ -71,6 +71,8 @@ public:
CSiaError<_UploadErrorCode> AddOrUpdate(const SString& siaPath, SString filePath, const std::uint64_t& lastModified);
_UploadStatus GetUploadStatus(const SString& siaPath);
CSiaError<_UploadErrorCode> Remove(const SString& siaPath);
CSiaError<_UploadErrorCode> RenameFile(const SString& siaPath, const SString& newSiaPath);
CSiaError<_UploadErrorCode> RenameFolder(const SString& siaPath, const SString& newSiaPath);
std::shared_ptr<std::vector<CSiaFilePtr>> GetUploadFileList() const;
};