mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
add support for conditional resuming of uploads
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -243,6 +243,12 @@ func (*CryptFs) IsUploadResumeSupported() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// IsConditionalUploadResumeSupported returns if resuming uploads is supported
|
||||
// for the specified size
|
||||
func (*CryptFs) IsConditionalUploadResumeSupported(_ int64) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// GetMimeType returns the content type
|
||||
func (fs *CryptFs) GetMimeType(name string) (string, error) {
|
||||
f, key, err := fs.getFileAndEncryptionKey(name)
|
||||
|
||||
Reference in New Issue
Block a user