X Tutup
Skip to content

Commit ce8b337

Browse files
author
Johan Brichau
committed
Add GRPlatform>>sizeOfFile: for GemStone
1 parent 5ba98ab commit ce8b337

File tree

12 files changed

+15
-11
lines changed

12 files changed

+15
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
encoding
22
base64Encode: aByteArray
3-
^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents
3+
^ (Base64MimeConverter mimeEncode: aByteArray readStream) contents
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
file-library
1+
files
22
contentsOfFile: aString binary: aBoolean
33
^ self fileStreamOn: aString do: [ :stream | stream contents ] binary: aBoolean

repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/directoriesIn..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
file-library
1+
files
22
directoriesIn: aPathString
33
"Answer a collection of absolute paths for all the directories (no files) in the directory given by aPathString
44
must not include directory names that start with ."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
file-library
1+
files
22
ensureExistenceOfFolder: aString
33
"creates a folder named aString in the default server directory"
44
ServerFileDirectory default assureExistenceOfPath: aString
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
file-library
1+
files
22
fileExists: aString
33
^ GsFile existsOnServer: aString

repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/filesIn..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
file-library
1+
files
22
filesIn: aPathString
33
"Return a collection of absolute paths for all the files (no directories) in the directory given by aPathString
44
must not include file names that start with ."
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
file-library
1+
files
22
localNameOf: aFilename
33
^(ServerFileDirectory on: aFilename) localName
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
file-library
1+
files
22
pathSeparator
33
^ FileDirectory pathNameDelimiter asString

repository/Grease-GemStone-Core.package/GRGemStonePlatform.class/instance/readFileStreamOn.do.binary..st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
file-library
1+
files
22
readFileStreamOn: aString do: aBlock binary: aBoolean
33
| stream dir file |
44
[
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
files
2+
sizeOfFile: aPathString
3+
4+
^ GsFile sizeOfOnServer: aPathString

0 commit comments

Comments
 (0)
X Tutup