2016-12-14 10:13 GMT+01:00 Peter Uhnak <[email protected]>:

> Hi,
>
> is there a reason why FileLocator behaves like this?
>
> FileLocator home -> FileLocator({home})
> FileLocator D -> FileReference(D:\)
>
> Especially the first one (this also applies to #temp and others),
> is there a benefit in returning FileLocator instead of the path? Because
> now I always end up doing
> FileLocator home asFileReference, which feels superfluous.
>

In what situation do you need to call #asFileReference ? because I thought
a FileLocator should behave like a FileReference (implementingthe same api).


>
> What is the use case that you don't want to resolve it yet?
>
> Thanks,
> Peter
>
>
>

Reply via email to