gws.ext.action.fs¶
Backend for file system operations.
-
class
gws.ext.action.fs.
Config
(*args, **kwargs)[source]¶ File system action
-
root
= None¶ file system root
-
-
class
gws.ext.action.fs.
Object
[source]¶ -
-
api_write
(req: gws.types.IRequest, p: gws.ext.action.fs.WriteParams) → gws.ext.action.fs.WriteResponse[source]¶ Write data to a new or existing file.
-
api_read
(req: gws.types.IRequest, p: gws.ext.action.fs.ReadParams) → gws.ext.action.fs.ReadResponse[source]¶ Read from an existing file.
-
api_delete
(req: gws.types.IRequest, p: gws.ext.action.fs.DeleteParams) → gws.ext.action.fs.DeleteResponse[source]¶ Move a file to trash.
-
api_list
(req: gws.types.IRequest, p: gws.ext.action.fs.ListParams) → gws.ext.action.fs.ListResponse[source]¶ Return a list of all server files.
-
api_undelete
(req: gws.types.IRequest, p: gws.ext.action.fs.UndeleteParams) → gws.ext.action.fs.UndeleteResponse[source]¶ Restore a file from the trash.
-