discover_full


Description:

public static File? discover_full (File location, bool across_fs, string[]? ceiling_dirs) throws Error

Looks for a git repository.

The lookup starts from path and walks up the parent directories and stops when a repository is found.

Parameters:

location

the base location where the lookup starts.

across_fs

indictaes whether lookup will work across filesystem devices.

ceiling_dirs

a list of absolute paths at which lookup will stop when reached, or null.

Returns:

the repository location.