Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
  4. const fs = require("fs");
  5. exports.FILE_SYSTEM_ADAPTER = {
  6. lstat: fs.lstat,
  7. stat: fs.stat,
  8. lstatSync: fs.lstatSync,
  9. statSync: fs.statSync,
  10. readdir: fs.readdir,
  11. readdirSync: fs.readdirSync
  12. };
  13. function createFileSystemAdapter(fsMethods) {
  14. if (fsMethods === undefined) {
  15. return exports.FILE_SYSTEM_ADAPTER;
  16. }
  17. return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
  18. }
  19. exports.createFileSystemAdapter = createFileSystemAdapter;