forked from Elara6331/itd
x
This commit is contained in:
parent
bfb21ea6a9
commit
68f6d20719
@ -105,7 +105,7 @@ func (blefs *FS) ReadDir(path string) ([]MyDirEntry, error) {
|
|||||||
listing := MyFileInfo{}
|
listing := MyFileInfo{}
|
||||||
listing.modtime = f.ModTime()
|
listing.modtime = f.ModTime()
|
||||||
listing.size = uint32(f.Size())
|
listing.size = uint32(f.Size())
|
||||||
listing.name = path + "/" + f.Name()
|
listing.name = f.Name()
|
||||||
listing.dir = f.IsDir()
|
listing.dir = f.IsDir()
|
||||||
out = append(out, MyDirEntry{self : listing})
|
out = append(out, MyDirEntry{self : listing})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user