mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-23 13:33:44 +08:00
Added directory to api conversion
This commit is contained in:
@@ -448,6 +448,7 @@ func (s *WorkflowServer) ListFiles(ctx context.Context, req *api.ListFilesReques
|
|||||||
apiFiles[i] = &api.File{
|
apiFiles[i] = &api.File{
|
||||||
Path: file.Path,
|
Path: file.Path,
|
||||||
Name: file.Name,
|
Name: file.Name,
|
||||||
|
Directory: file.Directory,
|
||||||
Size: file.Size,
|
Size: file.Size,
|
||||||
ContentType: file.ContentType,
|
ContentType: file.ContentType,
|
||||||
LastModified: file.LastModified.UTC().Format(time.RFC3339),
|
LastModified: file.LastModified.UTC().Format(time.RFC3339),
|
||||||
|
Reference in New Issue
Block a user