# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input

        Get a file lock for a given file path.
        Args:
            fpath (Path): The file path.
        Returns:
            FileLock: The file lock for the path.
        
=== parse google
short_description: 'Get a file lock for a given file path.'
blank_after_short_description: False
blank_after_long_description: False
style: google
- DocstringParam
  description: 'The file path.'
  kind: param
  key: 'param'
  arg_name: 'fpath'
  type_name: 'Path'
  is_optional: False
- DocstringReturns
  description: 'The file lock for the path.'
  kind: returns
  key: 'returns'
  type_name: 'FileLock'
  is_generator: False
=== detect
google
=== compose google
Get a file lock for a given file path.
Args:
    fpath (Path): The file path.

Returns:
    FileLock: The file lock for the path.
