{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "FsCopyParams", "description": "Copy a file or directory tree on the host filesystem.", "type": "object", "required": [ "destinationPath", "sourcePath" ], "properties": { "destinationPath": { "description": "Absolute destination path.", "allOf": [ { "$ref": "#/definitions/AbsolutePathBuf" } ] }, "recursive": { "description": "Required for directory copies; ignored for file copies.", "type": "boolean" }, "sourcePath": { "description": "Absolute source path.", "allOf": [ { "$ref": "#/definitions/AbsolutePathBuf" } ] } }, "definitions": { "AbsolutePathBuf": { "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", "type": "string" } } }