1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/src/applications/files/engine
kwadwo 9d031a51df Files now share storage. New files are written only if no other files have the same contentHash. Storage is only deleted if no other file is sharing it.
Summary: Storage is shared between files in a smart way. When uploading files, if other file have the same contentHash, then share storage. On delete, storage is permanently deleted only if no other files are sharing it

Test Plan: Upload multiple copies of the same file, while tracking database. Delete copies of files and check to see that the storage is only deleted if no other files are using it

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T2454

Differential Revision: https://secure.phabricator.com/D4775
2013-02-09 07:03:58 -08:00
..
PhabricatorFileStorageEngine.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorLocalDiskFileStorageEngine.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorMySQLFileStorageEngine.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorS3FileStorageEngine.php Improve S3 integration 2012-12-30 13:44:37 -08:00
PhabricatorTestStorageEngine.php Files now share storage. New files are written only if no other files have the same contentHash. Storage is only deleted if no other file is sharing it. 2013-02-09 07:03:58 -08:00