Skip to main content

load_start_point

Function load_start_point 

Source
pub fn load_start_point() -> Result<StartPoint>
Expand description

Load the starting commit OID from the file.

Reads the .agent/start_commit file and returns the stored OID.

ยงErrors

Returns an error if:

  • The file does not exist
  • The file cannot be read
  • The file content is invalid