Closed sebastianrath closed 3 years ago
In Repository.initExt(..), there is no check to ensure calling the init function on the same directory twice fails (for workdir nor commondir).
Repository.initExt(..)
https://github.com/Snowtrack/SnowFS/blob/0ed87a4c8d65351f0dd59f3b4c128e08bbe0c96a/src/repository.ts#L1493-L1508
In
Repository.initExt(..)
, there is no check to ensure calling the init function on the same directory twice fails (for workdir nor commondir).https://github.com/Snowtrack/SnowFS/blob/0ed87a4c8d65351f0dd59f3b4c128e08bbe0c96a/src/repository.ts#L1493-L1508