Skip to content

Commit

Permalink
lib: Rename "path" to "cockpit-path"
Browse files Browse the repository at this point in the history
To make it clear that this is our module.
  • Loading branch information
mvollmer authored and jelly committed Sep 18, 2024
1 parent 769e594 commit 0d4bc7f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/lib/test-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with Cockpit; If not, see <https://www.gnu.org/licenses/>.
*/

import { dirname, basename } from "./path";
import { dirname, basename } from "./cockpit-path";
import QUnit from "qunit-tests";

QUnit.test("dirname", function (assert) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/sosreport/sosreport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { EyeIcon, EyeSlashIcon } from '@patternfly/react-icons';

import { EmptyStatePanel } from "cockpit-components-empty-state.jsx";
import { ListingTable } from "cockpit-components-table.jsx";
import { basename as path_basename } from "path";
import { basename as path_basename } from "cockpit-path";

import cockpit from "cockpit";
import { superuser } from "superuser";
Expand Down
2 changes: 1 addition & 1 deletion pkg/storaged/btrfs/subvolume.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Button } from "@patternfly/react-core/dist/esm/components/Button/index.
import { Card, CardBody, CardHeader, CardTitle } from "@patternfly/react-core/dist/esm/components/Card/index.js";
import { DescriptionList } from "@patternfly/react-core/dist/esm/components/DescriptionList/index.js";

import { dirname } from "path";
import { dirname } from "cockpit-path";

import {
PageTable, StorageCard, StorageDescription, ChildrenTable,
Expand Down

0 comments on commit 0d4bc7f

Please sign in to comment.