mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
modify file interface
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user