diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-16 16:39:27 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-16 16:39:27 +0200 |
| commit | d94c415168b20dd43848dd7c8c77c07d8d4528d4 (patch) | |
| tree | a05f0596359891605d9154e98f720903eee28bd9 /app/client/socket | |
| parent | 14652eecb0fb4ebcb14e830504bfb02017bd010e (diff) | |
s00per k3wl 0bj3ct d357rUc7ur1nG
Diffstat (limited to 'app/client/socket')
| -rw-r--r-- | app/client/socket/socket.actions.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/socket/socket.actions.js b/app/client/socket/socket.actions.js index 78b0517..b80a0fa 100644 --- a/app/client/socket/socket.actions.js +++ b/app/client/socket/socket.actions.js @@ -4,6 +4,7 @@ import { socket } from './socket.connection' export const run_system_command = opt => syscall_async('run_system_command', opt) export const disk_usage = opt => syscall_async('run_system_command', { cmd: 'du', ...opt }) export const list_directory = opt => syscall_async('list_directory', opt).then(res => res.files) +export const count_directory = opt => syscall_async('count_directory', opt).then(res => res.count) export const list_sequences = opt => syscall_async('list_sequences', opt).then(res => res.sequences) export const run_script = opt => syscall_async('run_script', opt) export const upload_file = opt => syscall_async('upload_file', opt) |
