UNPKG

filefive

Version:

SFTP/FTP/Amazon S3 client and dual-panel file manager for macOS and Linux

14 lines (13 loc) 378 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = default_1; const Local_1 = require("../Local"); const URI_1 = require("../utils/URI"); async function default_1(file) { const { id, path } = (0, URI_1.parseURI)(file); if ((0, URI_1.isLocal)(file)) { return (0, Local_1.read)(path); } // TODO return ''; }