summaryrefslogtreecommitdiffstats
path: root/core/src/OC/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/OC/index.js')
-rw-r--r--core/src/OC/index.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/core/src/OC/index.js b/core/src/OC/index.js
index 01964b3ca4a..2a43d95eade 100644
--- a/core/src/OC/index.js
+++ b/core/src/OC/index.js
@@ -38,7 +38,7 @@ import {
encodePath,
isSamePath,
joinPaths
-} from './path'
+} from '@nextcloud/paths'
import {
build as buildQueryString,
parse as parseQueryString
@@ -189,10 +189,25 @@ export default {
/*
* Path helpers
*/
+ /**
+ * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths
+ */
basename,
+ /**
+ * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths
+ */
encodePath,
+ /**
+ * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths
+ */
dirname,
+ /**
+ * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths
+ */
isSamePath,
+ /**
+ * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths
+ */
joinPaths,
/**