Re: Skip .DS_Store files in check_mode_recursive

Поиск
Список
Период
Сортировка
Искать
От
Andrei Lepikhov
Тема
Re: Skip .DS_Store files in check_mode_recursive
Дата
в 16:37:27
Msg-id
7797ee73-c7b6-43ed-bc6a-55fd4f35e793@gmail.com
Ответ на
Список
Дерево обсуждения
Re: Skip .DS_Store files in check_mode_recursive Andrew Dunstan <andrew@dunslane.net>
Re: Skip .DS_Store files in check_mode_recursive Andrei Lepikhov <lepihov@gmail.com>
On 28/07/2026 21:56, Andrew Dunstan wrote:
> 
> On 2026-07-28 Tu 4:53 AM, Andrei Lepikhov wrote:
> I don't think you need to say
> 
>     return if basename($File::Find::name) eq '.DS_Store';
> 
> you can just say
> 
>     return if $_ eq '.DS_Store';
Thank you, done.

I implemented it this way for consistency and to be independent of the value of
the 'no_chdir' option.

-- 
regards, Andrei Lepikhov,
pgEdge
В списке pgsql-hackers по дате отправления
От: Tomas Vondra
Дата:
От: vignesh C
Дата:
FAQ