check_file_on_disk


Description:

public void check_file_on_disk ()

Checks synchronously the file on disk, to know whether the file is externally modified, or has been deleted, and whether the file is read-only.

File doesn't create a [[email protected]] to track those properties, so this function needs to be called instead. Creating lots of [[email protected]]'s would take lots of resources.

Since this function is synchronous, it is advised to call it only on local files. See [[email protected]_local].

Parameters:

this

a File.




2022 vala-language.org