Export user

Former-commit-id: 3ac186305dcd855b853a5c80ee8f90b50abd19cd
This commit is contained in:
Henrique Dias
2017-06-25 15:24:16 +01:00
parent a74ad79dd6
commit 224151e814
10 changed files with 35 additions and 33 deletions

View File

@@ -33,7 +33,7 @@ type listing struct {
}
// getListing gets the information about a specific directory and its files.
func getListing(u *user, filePath string, baseURL string) (*listing, error) {
func getListing(u *User, filePath string, baseURL string) (*listing, error) {
// Gets the directory information using the Virtual File System of
// the user configuration.
file, err := u.fileSystem.OpenFile(context.TODO(), filePath, os.O_RDONLY, 0)