Valentin Ryckewaert writes:
> Hello,
>
> I understood the problem with pathString and I'm ok with your opinion but I
> would like to come back on the first one "fullfilename" as I understand it,
> it must be a basename ?
> When I read the implementation with fullfilename which would be a path
> '
Hello,
I understood the problem with pathString and I'm ok with your opinion but I
would like to come back on the first one "fullfilename" as I understand it,
it must be a basename ?
When I read the implementation with fullfilename which would be a path
'/aPath/foo.zip'.
newName := fullFileName c
Le 19/4/16 15:53, Valentin Ryckewaert a écrit :
I mean, fileRef basename is myZip.zip and workingDirectory is the
place files will go after being unziped but how does we find the file
named fileRef basename ?
'foo.txt' asFileReference -> a fileRef
'foo.txt' asFileReference basename.
(File
Le 19/4/16 16:10, Tudor Girba a écrit :
The way I see it is that pathString can be anything that understands
asFileReference. This means:
- FileReference
- Path
- String
Indeed and we should write it in the comment.
Doru
On Apr 19, 2016, at 2:54 PM, stepharo wrote:
unzip: fullFileNam
> On Apr 19, 2016, at 7:10 AM, Tudor Girba wrote:
>
> The way I see it is that pathString can be anything that understands
> asFileReference. This means:
> - FileReference
> - Path
> - String
+1. So a better parameter name would be pathName or path. Parameter names
that encode concrete typ
The way I see it is that pathString can be anything that understands
asFileReference. This means:
- FileReference
- Path
- String
Doru
> On Apr 19, 2016, at 2:54 PM, stepharo wrote:
>
> unzip: fullFileName to: pathString
>"Unzip the contents of the file specified by the full path name
>
I mean, fileRef basename is myZip.zip and workingDirectory is the place
files will go after being unziped but how does we find the file named
fileRef basename ?
2016-04-19 15:46 GMT+02:00 stepharo :
>
>
> Le 19/4/16 15:41, Valentin Ryckewaert a écrit :
>
> How does unzip:to: access to the file ?
Le 19/4/16 15:41, Valentin Ryckewaert a écrit :
How does unzip:to: access to the file ?
I do not get your question?
It must be in the workingDirectory?
Read the code luke
unzip: fullFileName to: pathString
"Unzip the contents of the file specified by the full path name
fullFileNa
How does unzip:to: access to the file ? It must be in the workingDirectory?
2016-04-19 15:06 GMT+02:00 Hernán Morales Durand :
> I use it a lot to uncompress external resources like this:
>
> fileRef :=
> GZipReadStream unzip: fileRef basename to: FileSystem workingDirectory.
>
> but it cou
I use it a lot to uncompress external resources like this:
fileRef :=
GZipReadStream unzip: fileRef basename to: FileSystem workingDirectory.
but it could be used to pass a directory as String I guess.
Comment should be corrected.
2016-04-19 9:54 GMT-03:00 stepharo :
> unzip: fullFileName
unzip: fullFileName to: pathString
"Unzip the contents of the file specified by the full path name
fullFileName to the location given by pathString."
so we would expect to pass a string in the second argument?
the unique sender of it in the system
unzip: fullFileName
"Unzip the conten
11 matches
Mail list logo