@@ -619,7 +619,7 @@ export function fakerPath(path?: string): string {
619
619
* @returns The absolute or relative path to the specified file or directory within the framework directory.
620
620
*/
621
621
export function frameworkPath ( path ?: string , options ?: { relative ?: boolean ; cwd ?: string } ) : string {
622
- const absolutePath = projectStoragePath ( `framework/${ path || '' } ` )
622
+ const absolutePath = storagePath ( `framework/${ path || '' } ` )
623
623
624
624
if ( options ?. relative ) return relative ( options . cwd || process . cwd ( ) , absolutePath )
625
625
@@ -740,7 +740,7 @@ export function loggingPath(path?: string): string {
740
740
* @returns The absolute path to the specified file or directory within the `logs` directory.
741
741
*/
742
742
export function logsPath ( path ?: string ) : string {
743
- return projectStoragePath ( `logs/${ path || '' } ` )
743
+ return storagePath ( `logs/${ path || '' } ` )
744
744
}
745
745
746
746
/**
@@ -908,7 +908,7 @@ export function projectConfigPath(path?: string): string {
908
908
* @param path - The relative path to the file or directory within the storage directory.
909
909
* @returns The absolute path to the specified file or directory within the storage directory.
910
910
*/
911
- export function projectStoragePath ( path ?: string ) : string {
911
+ export function storagePath ( path ?: string ) : string {
912
912
return projectPath ( `storage/${ path || '' } ` )
913
913
}
914
914
@@ -971,7 +971,7 @@ export function realtimePath(path?: string) {
971
971
* @returns The absolute or relative path to the specified file or directory within the `resources` directory.
972
972
*/
973
973
export function resourcesPath ( path ?: string , options ?: { relative ?: boolean } ) {
974
- const absolutePath = projectStoragePath ( `resources/${ path || '' } ` )
974
+ const absolutePath = coreStoragePath ( `resources/${ path || '' } ` )
975
975
976
976
if ( options ?. relative ) return relative ( process . cwd ( ) , absolutePath )
977
977
@@ -1080,7 +1080,7 @@ export function smsPath(path?: string) {
1080
1080
* @param path - The relative path to the file or directory within the storage directory.
1081
1081
* @returns The absolute path to the specified file or directory within the storage directory.
1082
1082
*/
1083
- export function storagePath ( path ?: string ) {
1083
+ export function coreStoragePath ( path ?: string ) {
1084
1084
return corePath ( `storage/${ path || '' } ` )
1085
1085
}
1086
1086
@@ -1338,7 +1338,7 @@ export const path = {
1338
1338
paymentsPath,
1339
1339
projectPath,
1340
1340
findProjectPath,
1341
- projectStoragePath ,
1341
+ coreStoragePath ,
1342
1342
publicPath,
1343
1343
pushPath,
1344
1344
queryBuilderPath,
0 commit comments