X Tutup
Skip to content

Commit 6e59c41

Browse files
author
Johan Brichau
authored
Merge pull request SeasideSt#166 from SeasideSt/sizeOfFile
Size of file
2 parents 3a4e4bc + e99e20d commit 6e59c41

File tree

17 files changed

+40
-11
lines changed

17 files changed

+40
-11
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
files
2+
sizeOfFile: aString
3+
4+
self subclassResponsibility
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
[

0 commit comments

Comments
 (0)
X Tutup