Closed LostKobrakai closed 3 years ago
Seems like Flysystem by default only handles public vs. private. By default each adapter has an visibility converter to deal with those two settings.
Each adapter has means of receiving more fine grained visibility options by having a different visibility-converter configured.
Basically the visibility is treated as a black box, which can only be read by the related visibility-converter, which returns adapter specific data to apply the visibility setting to files.
Visibility handling is quite an interesting topic given there's not much consensus between filesystems on how to handle it. Flysystem V2 does implement an abstraction, where each adapter has means of translating visibility. I've yet to take a deeper look though.