Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File utilities for streaming uploads #138

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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.
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"commentStamp" : "pmm 6/1/2008 01:03",
"commentStamp" : "pmm 2/1/2014 13:28",
"super" : "GRPlatform",
"category" : "Grease-Pharo70-Core",
"classinstvars" : [ ],
Expand Down
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
5 changes: 3 additions & 2 deletions repository/Grease-Squeak-Core.package/.filetree
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"noMethodMetaData" : true,
"separateMethodMetaAndSource" : false,
"useCypressPropertiesFile" : true }
"noMethodMetaData" : true,
"useCypressPropertiesFile" : true
}
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
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"
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"name" : "Object" }
"name" : "Object"
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
{
"name" : "SmallInteger" }
"name" : "SmallInteger"
}
3 changes: 1 addition & 2 deletions repository/Grease-Squeak-Core.package/properties.json
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
{
}
{ }