We analyze here the issue of local versus global visibility of a singularity that forms in gravitational collapse of a dust cloud, which has important implications for the weak and strong versions of the cosmic censorship hypothesis. We find conditions for when a singularity will be only locally naked, rather than being globally visible, thus preserving the weak censorship hypothesis. The conditions for the formation of a black hole or a naked singularity in the Szekeres quasi-spherical collapse models are worked out. The causal behaviour of the singularity curve is studied by examining the outgoing radial null geodesics, and the final outcome of collapse is related to the nature of the regular initial data specified on an initial hypersurface from which the collapse evolves. An interesting feature that emerges is that the singularity in Szekeres spacetimes can be “directionally naked”.