mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
refactor virtual folders
The same virtual folder can now be shared among users and different folder quota limits for each user are supported. Fixes #120
This commit is contained in:
@@ -417,6 +417,12 @@ func (fs GCSFs) ScanRootDirContents() (int, int64, error) {
|
||||
return numFiles, size, err
|
||||
}
|
||||
|
||||
// GetDirSize returns the number of files and the size for a folder
|
||||
// including any subfolders
|
||||
func (GCSFs) GetDirSize(dirname string) (int, int64, error) {
|
||||
return 0, 0, errors.New("Not implemented")
|
||||
}
|
||||
|
||||
// GetAtomicUploadPath returns the path to use for an atomic upload.
|
||||
// S3 uploads are already atomic, we never call this method for S3
|
||||
func (GCSFs) GetAtomicUploadPath(name string) string {
|
||||
|
||||
Reference in New Issue
Block a user