Gjsify LogoGjsify Logo

A structure allowing control over commits.

record

Hierarchy

  • RepoCommitModifier

Index

Constructors

Properties

name: string

Methods

  • See the documentation for ostree_repo_devino_cache_new(). This function can then be used for later calls to ostree_repo_write_directory_to_mtree() to optimize commits.

    Note if your process has multiple writers, you should use separate OSTreeRepo instances if you want to also use this API.

    This function will add a reference to cache without copying - you should avoid further mutation of the cache.

    Parameters

    Returns void

  • If policy is non-%NULL, use it to look up labels to use for "security.selinux" extended attributes.

    Note that any policy specified this way operates in addition to any extended attributes provided via ostree_repo_commit_modifier_set_xattr_callback(). However if both specify a value for "security.selinux", then the one from the policy wins.

    Parameters

    • sepolicy: SePolicy

      Policy to use for labeling

    Returns void

  • If set, this function should return extended attributes to use for the given path. This is useful for things like ACLs and SELinux, where a build system can label the files as it's committing to the repository.

    Parameters

    Returns void

  • unref(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method