fileListFuture method

Future<MessageOrError> fileListFuture(
  1. String inner_path
)

Return: List of files in the directory (recursive).

Implementation

Future<MessageOrError> fileListFuture(String inner_path) async {
  var resultStr = await ZeroNet.instance.cmdFuture(
    ZeroNetCmd.fileList,
    params: {
      'inner_path': inner_path,
    },
  );
  return resultStr.toMsgOrErr;
}