ConfigureFileFromUrl.yqls 331 B

12345678910
  1. # canonize yson here
  2. (
  3. (let config (DataSource 'config))
  4. (let world (Configure! world config 'AddFileByUrl 'Tony 'https://yadi.sk/a/pk0iwMkNuNYgM/57b9c14c6fcc2a565515fab9))
  5. (let res_sink (DataSink 'result))
  6. (let world (Write! world res_sink (Key) (Files '/home) '('('type))))
  7. (let world (Commit! world res_sink))
  8. (return world)
  9. )