-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for newTemporaryFileReference in GemStone versions high…
…er than 3.3
- Loading branch information
Johan Brichau
committed
Feb 3, 2024
1 parent
933bc73
commit 788fa15
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...mStone330-Core.package/GRGemStonePlatform.extension/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 @@ | ||
*grease-gemstone330-core | ||
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 newTemporaryFileReferenceNamed: UUID new greaseString |
8 changes: 8 additions & 0 deletions
8
...330-Core.package/GRGemStonePlatform.extension/instance/newTemporaryFileReferenceNamed..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 @@ | ||
*grease-gemstone330-core | ||
newTemporaryFileReferenceNamed: aName | ||
"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)." | ||
^ GsFile openWriteOnServer: '/tmp/', aName |