Swift supports directory without file entries.