Code review comment for lp:~lore-mattei/unity-lens-files/unity-lens-files-lp878052

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Technically it only solves this partially, since it only checks the
state of the immediate parent dir. ~/.foo/bar/secret.txt would still
show up. Recursively stat()ing the parent dirs is not very fun either.

I suggested some point in the past that we do a simple heuristic that
I think is "good enough" - simply checking if the path string contains
a "/." pattern.

« Back to merge proposal