cargo::ops::cargo_package

# Module vcs

Source
Expand description

Helpers to gather the VCS information for `cargo package`.

## Structs§

- GitVcsInfo
  Represents the Git VCS information when packaging.
- VcsInfo
  Represents the VCS information when packaging.

## Functions§

- check_repo_state
  Checks if the package source is in a git DVCS repository.
- collect_statuses 🔒
  Helper to collect dirty statuses for a single repo.
- dirty_metadata_paths 🔒
  Checks whether files at paths specified in `package.readme` and `package.license-file` have been modified.
- git 🔒
  The real git status check starts from here.
- status_submodules 🔒
  Helper to collect dirty statuses while recursing into submodules.
- warn_symlink_checked_out_as_plain_text_file 🔒
  Warns if any symlinks were checked out as plain text files.