-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from theseion/file-utilities-for-streaming-up…
…loads File utilities for streaming uploads
- Loading branch information
Showing
12 changed files
with
58 additions
and
19 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
file library | ||
newTemporaryFileReference | ||
"Create a new temporary file in the systems temp directory | ||
and answer a reference to it. | ||
It is the users responsibility to delete or move the file, | ||
it will not be cleaned up automatically (unless the host system | ||
has a policy for it)." | ||
^ self subclassResponsibility |
8 changes: 8 additions & 0 deletions
8
.../Grease-Pharo100-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
file library | ||
newTemporaryFileReference | ||
"Create a new temporary file in the systems temp directory | ||
and answer a reference to it. | ||
It is the users responsibility to delete or move the file, | ||
it will not be cleaned up automatically (unless the host system | ||
has a policy for it)." | ||
^ FileLocator temp / UUID new asString |
2 changes: 1 addition & 1 deletion
2
repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
A WASqueakPlatform is the Squeak implementation of SeasidePlatformSupport, the Seaside class that provides functionality that can not be implemented in a platform independent way. | ||
A GRPharoPlatform is the Pharo implementation of GRPlatform, the Grease class that provides functionality that can not be implemented in a platform independent way. |
8 changes: 8 additions & 0 deletions
8
...y/Grease-Pharo70-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
file library | ||
newTemporaryFileReference | ||
"Create a new temporary file in the systems temp directory | ||
and answer a reference to it. | ||
It is the users responsibility to delete or move the file, | ||
it will not be cleaned up automatically (unless the host system | ||
has a policy for it)." | ||
^ FileLocator temp / UUID new asString |
2 changes: 1 addition & 1 deletion
2
repository/Grease-Pharo70-Core.package/GRPharoPlatform.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...y/Grease-Pharo90-Core.package/GRPharoPlatform.class/instance/newTemporaryFileReference.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
file library | ||
newTemporaryFileReference | ||
"Create a new temporary file in the systems temp directory | ||
and answer a reference to it. | ||
It is the users responsibility to delete or move the file, | ||
it will not be cleaned up automatically (unless the host system | ||
has a policy for it)." | ||
^ FileLocator temp / UUID new asString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } | ||
"noMethodMetaData" : true, | ||
"useCypressPropertiesFile" : true | ||
} |
8 changes: 8 additions & 0 deletions
8
...y/Grease-Squeak-Core.package/GRSqueakPlatform.class/instance/newTemporaryFileReference.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
file library | ||
newTemporaryFileReference | ||
"Create a new temporary file in the systems temp directory | ||
and answer a reference to it. | ||
It is the users responsibility to delete or move the file, | ||
it will not be cleaned up automatically (unless the host system | ||
has a policy for it)." | ||
^ FileDirectory default / UUID new asString |
19 changes: 8 additions & 11 deletions
19
repository/Grease-Squeak-Core.package/GRSqueakPlatform.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
{ | ||
"category" : "Grease-Squeak-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"instvars" : [ | ||
], | ||
"name" : "GRSqueakPlatform", | ||
"pools" : [ | ||
], | ||
"super" : "GRPharoPlatform", | ||
"type" : "normal" } | ||
"category" : "Grease-Squeak-Core", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ ], | ||
"name" : "GRSqueakPlatform", | ||
"type" : "normal" | ||
} |
3 changes: 2 additions & 1 deletion
3
repository/Grease-Squeak-Core.package/Object.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"name" : "Object" } | ||
"name" : "Object" | ||
} |
3 changes: 2 additions & 1 deletion
3
repository/Grease-Squeak-Core.package/SmallInteger.extension/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{ | ||
"name" : "SmallInteger" } | ||
"name" : "SmallInteger" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
{ | ||
} | ||
{ } |