-
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.
Add GRPlatform>>sizeOfFile: for GemStone
- Loading branch information
Showing
12 changed files
with
15 additions
and
11 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/base64Encode..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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
encoding | ||
base64Encode: aByteArray | ||
^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents | ||
^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents |
2 changes: 1 addition & 1 deletion
2
.../Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/contentsOfFile.binary..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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
contentsOfFile: aString binary: aBoolean | ||
^ self fileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/directoriesIn..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
2 changes: 1 addition & 1 deletion
2
...rease-GemStone-Core.package/GRGemStonePlatform.class/instance/ensureExistenceOfFolder..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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
file-library | ||
files | ||
ensureExistenceOfFolder: aString | ||
"creates a folder named aString in the default server directory" | ||
ServerFileDirectory default assureExistenceOfPath: aString |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/fileExists..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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
fileExists: aString | ||
^ GsFile existsOnServer: aString |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/filesIn..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
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/localNameOf..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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
localNameOf: aFilename | ||
^(ServerFileDirectory on: aFilename) localName |
2 changes: 1 addition & 1 deletion
2
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/pathSeparator.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
file-library | ||
files | ||
pathSeparator | ||
^ FileDirectory pathNameDelimiter asString |
2 changes: 1 addition & 1 deletion
2
...se-GemStone-Core.package/GRGemStonePlatform.class/instance/readFileStreamOn.do.binary..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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
file-library | ||
files | ||
readFileStreamOn: aString do: aBlock binary: aBoolean | ||
| stream dir file | | ||
[ | ||
|
4 changes: 4 additions & 0 deletions
4
repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/sizeOfFile..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,4 @@ | ||
files | ||
sizeOfFile: aPathString | ||
|
||
^ GsFile sizeOfOnServer: aPathString |
2 changes: 1 addition & 1 deletion
2
.../Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/write.toFile.inFolder..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
2 changes: 1 addition & 1 deletion
2
...e-GemStone-Core.package/GRGemStonePlatform.class/instance/writeFileStreamOn.do.binary..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