Browse Source

提交测试代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1036/head
zouap 3 years ago
parent
commit
0988d71adb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/storage/obs.go

+ 1
- 1
modules/storage/obs.go View File

@@ -255,7 +255,7 @@ func GetAllObsListObjectUnderDir(bucket string, prefix string) ([]FileInfo, erro
}
fileInfo := FileInfo{
ModTime: val.LastModified.Format("2006-01-02 15:04:05"),
FileName: val.Key[len(prefix):],
FileName: val.Key[len(prefix)+1:],
Size: val.Size,
IsDir: isDir,
ParenDir: "",


Loading…
Cancel
Save