Interface FileCreateFlags


public interface FileCreateFlags
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    No flags set.
    static final int
    Create a file that can only be
    accessed by the current user.
    static final int
    Replace the destination
    as if it didn't exist before.
  • Field Details

    • NONE

      static final int NONE
      No flags set.
      See Also:
    • PRIVATE

      static final int PRIVATE
      Create a file that can only be
      accessed by the current user.
      See Also:
    • REPLACE_DESTINATION

      static final int REPLACE_DESTINATION
      Replace the destination
      as if it didn't exist before. Don't try to keep any old
      permissions, replace instead of following links. This
      is generally useful if you're doing a "copy over"
      rather than a "save new version of" replace operation.
      You can think of it as "unlink destination" before
      writing to it, although the implementation may not
      be exactly like that. This flag can only be used with
      g_file_replace() and its variants, including g_file_replace_contents().
      Since 2.20
      See Also: