SudoSOS Back-end API / internal/files / initializeDiskStorage
Function: initializeDiskStorage() ​
ts
function initializeDiskStorage(): void;Create all folders necessary to store files locally on disk.
Resolves each location the same way DiskStorage does when it reads or writes a file: relative to process.cwd(), not to this module's __dirname.
Returns ​
void