recursively get file size for directories
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
export function useWarrenPath() {
|
||||
export function useWarrenPath(): { warrenId: string; path: string } | null {
|
||||
const store = useWarrenStore();
|
||||
|
||||
if (store.current == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return `${store.current.warrenId}${store.current.path}`;
|
||||
return { warrenId: store.current.warrenId, path: store.current.path };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user