modify file interface

This commit is contained in:
Asim Aslam
2021-06-03 14:10:27 +01:00
parent 2898a9a99c
commit 0b4463d161
4 changed files with 70 additions and 96 deletions

View File

@@ -192,7 +192,7 @@ func (e *File) List(ctx context.Context, req *file.ListRequest, rsp *file.ListRe
// strip the file contents
// no file listing ever contains it
file.Data = ""
file.Content = ""
// if requesting all files or path matches
if req.Path != "" {