filefive
Version:
SFTP/FTP/Amazon S3 client and dual-panel file manager for macOS and Linux
15 lines (14 loc) • 395 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = default_1;
const URI_1 = require("../utils/URI");
async function default_1(uri, local, remote, file) {
if ((0, URI_1.isLocal)(uri)) {
const { path } = (0, URI_1.parseURI)(uri);
local.unwatch(path);
file.unwatch(path);
}
else {
remote.unwatch(uri);
}
}