Added FUSE support #55
@ -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