ModificationTime

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ModificationTime

Valentin Ryckewaert
Hi everyone,

I don't understand what is the meaning of this method, could someone help me about it plz?

modificationTime: aResolvable
"Resolve the argument, and answer true if the result refers
to a directory, false if it refers to a file or doesn't exist."

^ store modificationTime: (self resolve: aResolvable)
Reply | Threaded
Open this post in threaded view
|

Re: ModificationTime

EstebanLM
should be modification time of file… clearly, that method comment is crap :)

Esteban

> On 25 Apr 2016, at 11:01, Valentin Ryckewaert <[hidden email]> wrote:
>
> Hi everyone,
>
> I don't understand what is the meaning of this method, could someone help me about it plz?
>
> modificationTime: aResolvable
> "Resolve the argument, and answer true if the result refers
> to a directory, false if it refers to a file or doesn't exist."
>
> ^ store modificationTime: (self resolve: aResolvable)


Reply | Threaded
Open this post in threaded view
|

Re: ModificationTime

Valentin Ryckewaert
Wasn't sure so didn't tell this ! I send an issue

2016-04-25 11:05 GMT+02:00 Esteban Lorenzano <[hidden email]>:
should be modification time of file… clearly, that method comment is crap :)

Esteban

> On 25 Apr 2016, at 11:01, Valentin Ryckewaert <[hidden email]> wrote:
>
> Hi everyone,
>
> I don't understand what is the meaning of this method, could someone help me about it plz?
>
> modificationTime: aResolvable
>       "Resolve the argument, and answer true if the result refers
>       to a directory, false if it refers to a file or doesn't exist."
>
>       ^ store modificationTime: (self resolve: aResolvable)



Reply | Threaded
Open this post in threaded view
|

Re: ModificationTime

stepharo
In reply to this post by EstebanLM
Esteban to me

modificationTimeOf:

would be better  - but I'm confused.

because when I read it I thought that it would modify the receiver and
I'm still confused.


Le 25/4/16 à 11:05, Esteban Lorenzano a écrit :

> should be modification time of file… clearly, that method comment is crap :)
>
> Esteban
>
>> On 25 Apr 2016, at 11:01, Valentin Ryckewaert <[hidden email]> wrote:
>>
>> Hi everyone,
>>
>> I don't understand what is the meaning of this method, could someone help me about it plz?
>>
>> modificationTime: aResolvable
>> "Resolve the argument, and answer true if the result refers
>> to a directory, false if it refers to a file or doesn't exist."
>>
>> ^ store modificationTime: (self resolve: aResolvable)
>
>