• dmitrysamuylovpharo's avatar
    Feature/fileinfo create copy (#9198) · 7a731d2b
    dmitrysamuylovpharo authored
    * Initial implementation of a CopyFileInfos function that creates new FileInfo objects copied from provided FileIds with the provided user as the creator and not linked to a post yet. This can subsequently be used to copy existing attachments from another post to attach to a new post without having to re-upload the actual files
    * added a unit test for the CopyFileInfos function
    * resolving pull request suggestions
file_test.go 6.05 KB