0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/adapters/storage
Naz f3fc1bd5d4 Extracted local storage adapters' into a base class
refs https://github.com/TryGhost/Toolbox/issues/95

- The MediaStorage adapter and LocalFileStorage were almost identical, having a common base class makes sense here.
- Having a distinct class for the "LocalFileStorage" makes it easy to spot the implementation difference from the StorageBase - the "saveRaw" method, which is not present in the StorageBase
- The LocalFileStorage will become an LocalImageStorage in next commit as that name corresponds way better to what it does!
- Test files need a good cleanup
2021-11-05 17:17:18 +04:00
..
index.js Added local media storage adapter 2021-11-03 00:33:28 +13:00
LocalFileStorage.js Extracted local storage adapters' into a base class 2021-11-05 17:17:18 +04:00
LocalMediaStorage.js Extracted local storage adapters' into a base class 2021-11-05 17:17:18 +04:00
LocalStorageBase.js Extracted local storage adapters' into a base class 2021-11-05 17:17:18 +04:00
utils.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00