file_system

Nicolas Boulay nicolas.boulay at gmail.com
Tue Sep 15 23:21:32 UTC 2009


Quelqu'un peut m'expliquer comment ce slot fonctionne ?

Section Inherit

  + parent_directory:DIRECTORY <-
  ( + cwd:NATIVE_ARRAY(CHARACTER);
    + result:DIRECTORY;

    DIRECTORY.string_tmp.clear;
    cwd := DIRECTORY.string_tmp.to_external;
    `getcwd(@cwd,255)`;
    DIRECTORY.string_tmp.from_external cwd;

    result ?= DIRECTORY_UNIX.physical_get_entry (DIRECTORY.string_tmp);
    DIRECTORY.alias.put result to (result.path);
    ? {result != NULL};
    parent_directory := result
  );


Le 16 septembre 2009 00:44, Hilbert Jerome <hilbertjerome at gmail.com> a écrit :
> Salut,
>
> le slot est dans DIRECTORY.
>
> Jérôme
>
> 2009/9/15 Nicolas Boulay <nicolas.boulay at gmail.com>
>>
>> Quelqu'un peut-il m'expliquer comment cette ligne fonctionne ?
>>
>>    entry := FILE_SYSTEM.make_file string_tmp;
>>
>> D'ou vient le slot make_file? il n'est pas dans file_system.li,
>> j'imagine que le slot en héritage est en cause mais je ne comprends
>> rien.
>>
>> nicolas
>>
>> _______________________________________________
>> Lisaac-devel mailing list
>> Lisaac-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/lisaac-devel
>
>
> _______________________________________________
> Lisaac-devel mailing list
> Lisaac-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/lisaac-devel
>
>



More information about the Lisaac-devel mailing list