Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: Rename "path" to "cockpit-path" #21017

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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