Hazaar\File\Dir::put() does not work with in-memory File objects. #99

Closed
opened 2017-11-01 01:55:13 +00:00 by jamie · 5 comments
jamie commented 2017-11-01 01:55:13 +00:00 (Migrated from git.hazaar.io)

I think internally Hazaar\File\Dir::put() does a copy so there needs to be a source. I think I will need to add a check to see if there either is a source, or the file is in memory and if so, just write it without doing a read/copy.

I think internally ```Hazaar\File\Dir::put()``` does a copy so there needs to be a source. I think I will need to add a check to see if there either is a source, or the file is in memory and if so, just write it without doing a read/copy.
jamie commented 2017-11-01 23:12:06 +00:00 (Migrated from git.hazaar.io)
created branch [`99-hazaar-file-dir-put-does-not-work-with-in-memory-file-objects`](https://git.hazaarlabs.com/hazaar/hazaar-mvc/compare/master...99-hazaar-file-dir-put-does-not-work-with-in-memory-file-objects)
jamie commented 2017-11-01 23:12:08 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !16

mentioned in merge request !16
jamie commented 2017-11-01 23:15:45 +00:00 (Migrated from git.hazaar.io)

closed via commit cd93a324f5

closed via commit cd93a324f57b1e96b2335f14fd86fdc097e0a1ab
jamie commented 2017-11-01 23:15:45 +00:00 (Migrated from git.hazaar.io)

closed via merge request !16

closed via merge request !16
jamie commented 2018-06-29 02:25:35 +00:00 (Migrated from git.hazaar.io)

changed milestone to %4

changed milestone to %4
jamie self-assigned this 2025-09-04 01:15:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/framework#99
No description provided.