X Tutup
Skip to content

Commit 514c8cd

Browse files
author
Johan Brichau
authored
More file ops (SeasideSt#139)
* moved the methods dealing with files into their own protocol (they were in the 'file library' protocol which is specific support for Seaside file libraries) * added GRPlatforn>>deleteFile:, GRDelegatingStream>>position:, GRPlatform>>newTemporaryFileReferenceNamed:
1 parent 5ad8d0b commit 514c8cd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+80
-38
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
accessing
2+
position: anInteger
3+
^ stream position: anInteger
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 subclassResponsibility
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
files
2+
deleteFile: aPathString
3+
self subclassResponsibility

repository/Grease-Core.package/GRPlatform.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
"Create a folder named aString in the image directory."
44
self subclassResponsibility
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
self subclassResponsibility

repository/Grease-Core.package/GRPlatform.class/instance/fileStreamOn.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
fileStreamOn: aString do: aBlock binary: aBoolean
33
self
44
greaseDeprecatedApi: 'GRPlatform>>#fileStreamOn:do:binary:'

repository/Grease-Core.package/GRPlatform.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
"Answer 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 ."

repository/Grease-Core.package/GRPlatform.class/instance/localNameOf..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
localNameOf: aFilename
33
"Answer the local name of a file identified by an absolute file path.
44

repository/Grease-Core.package/GRPlatform.class/instance/newTemporaryFileReference.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
newTemporaryFileReference
33
"Create a new temporary file in the systems temp directory
44
and answer a reference to it.

0 commit comments

Comments
 (0)
X Tutup