class_docstr: A collection of [File][mkdocs.structure.files.File] objects.
class_docstr_tok: ["A","collection","of","[","File","]","[","mkdocs.structure.files.File","]","objects","."]
docstr: Return a File instance with File.src_uri equal to path.
code: def get_file_from_path(self, path: str) -> File | None:
      """Return a File instance with File.src_uri equal to path."""
      return self.src_uris.get(PurePath(path).as_posix())
  
imports: from __future__ import annotations
  import enum
  import fnmatch
  import logging
  import os
  import posixpath
  import shutil
  import warnings
  from pathlib import PurePath
  from typing import TYPE_CHECKING, Callable, Iterable, Iterator, Sequence
  from urllib.parse import quote
  import pathspec
  import pathspec.gitignore
  import pathspec.util
  from mkdocs import utils
label_desc: Use image node_id 7 for calling the Files obj's underlying member method code with example usage: obj.get_file_from_path(path) and returns: self