                 args = args.concat(extra_args).concat([path_parts.tail]).concat(post_args)
                 args_str = ((if x.indexOf(' ')!=-1 then "'#{x}'" else x) for x in args).join(' ')
                 cmd = "cd #{path_parts.head} ; #{command} #{args_str}"
-                @_set_to(loading : true, command : cmd)
+                @setState(loading: true, command: cmd)
                 salvus_client.exec
                     project_id : project_id
                     path       : path_parts.head

            command : 'xz'
            args    : ['-vfd']

flux_name = (project_id, path) ->
    return "editor-#{project_id}-#{path}"

class ArchiveActions extends Actions
    _set_to: (payload) =>
        payload

    parse_file_type : (file_info) ->
        if file_info.indexOf('Zip archive data') != -1
            return 'zip'

{React, ReactDOM, rclass, rtypes, Redux, Actions, Store}  = require('./smc-react')
{Button, Panel, Row, Col} = require('react-bootstrap')
{Icon} = require('./r_misc')
{salvus_client} = require('./salvus_client')
