unexport fileInfo
Former-commit-id: e6492286dba14bb758f36da9a3f14d223e5b2d32
This commit is contained in:
@@ -18,7 +18,7 @@ type Listing struct {
|
||||
// The full path of the request relatively to a File System
|
||||
Path string
|
||||
// The items (files and folders) in the path
|
||||
Items []FileInfo
|
||||
Items []fileInfo
|
||||
// The number of directories in the listing
|
||||
NumDirs int
|
||||
// The number of files (items that aren't directories) in the listing
|
||||
@@ -49,7 +49,7 @@ func GetListing(u *user, filePath string, baseURL string) (*Listing, error) {
|
||||
}
|
||||
|
||||
var (
|
||||
fileinfos []FileInfo
|
||||
fileinfos []fileInfo
|
||||
dirCount, fileCount int
|
||||
)
|
||||
|
||||
@@ -71,7 +71,7 @@ func GetListing(u *user, filePath string, baseURL string) (*Listing, error) {
|
||||
// Absolute URL
|
||||
url := url.URL{Path: baseURL + name}
|
||||
|
||||
i := FileInfo{
|
||||
i := fileInfo{
|
||||
Name: f.Name(),
|
||||
Size: f.Size(),
|
||||
ModTime: f.ModTime(),
|
||||
|
||||
Reference in New Issue
Block a user