discover_vasp_files

emmet.core.vasp.utils.discover_vasp_files(target_dir)

Scan a target directory and identify VASP files.

Return type:

dict[str, list[FileMetadata]]

Parameters:

target_dir (Annotated[str | Path | DirEntry[str] | PathLike[str], PlainSerializer(func=~emmet.core.types.typing.<lambda>, return_type=str, when_used=always)])

Parameters

target_dir : FSPathType

Returns

List of FileMetadata for the identified files.