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.

common.js 419B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.joinPathSegments = void 0;
  4. function joinPathSegments(a, b, separator) {
  5. /**
  6. * The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
  7. */
  8. if (a.endsWith(separator)) {
  9. return a + b;
  10. }
  11. return a + separator + b;
  12. }
  13. exports.joinPathSegments = joinPathSegments;