67. FileChanges

Detect if a configuratil file was changed

67.1. Summary of Module Globals

List of Global Functions

  • CheckFiles - Check files if any of them were changed Issue a question whether to continue if some were chaned

  • FileChanged - Check if a file was modified externally (without YaST)

  • StoreFileCheckSum - Store checksum of a file to the store

List of Global Variables

    67.2. Global Functions

    67.2.1. CheckFiles

    Check files if any of them were changed Issue a question whether to continue if some were chaned

    Function parameters

    • list<string> files

    Return value

    • boolean - true if either none was changed or user agreed to continue

    67.2.2. FileChanged

    Check if a file was modified externally (without YaST)

    Function parameters

    • string file

    Return value

    • boolean - true if was changed externally

    67.2.3. StoreFileCheckSum

    Store checksum of a file to the store

    Function parameters

    • string file

    Return value

    • void

    67.3. Global Variables

    67.4. Module Requirements

    67.4.1. Module Imports

    • Mode
    • Popup

    67.4.2. Module Includes