# All files / client/files flush.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

    1
    2
    3
    4
    5
    6
    7
    8
    91x
    1x

    1x

     import { caller } from 'postmsg-rpc'
    import callbackify from 'callbackify'

    export default function (opts) {
      return {
        flush: callbackify.variadic(caller('ipfs.files.flush', opts))
      }
    }