vagrant/plugins/synced_folders/rsync/plugin.rb
oss-core-libraries-dashboard[bot] 1a8c7eb042
[COMPLIANCE] Update Copyright and License Headers (Batch 4 of 7) (#13762)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2025-12-22 16:46:54 +05:30

31 lines
741 B
Ruby

# Copyright IBM Corp. 2010, 2025
# SPDX-License-Identifier: BUSL-1.1
require "vagrant"
module VagrantPlugins
module SyncedFolderRSync
# This plugin implements synced folders via rsync.
class Plugin < Vagrant.plugin("2")
name "RSync synced folders"
description <<-EOF
The Rsync synced folder plugin will sync folders via rsync.
EOF
command("rsync", primary: false) do
require_relative "command/rsync"
Command::Rsync
end
command("rsync-auto", primary: false) do
require_relative "command/rsync_auto"
Command::RsyncAuto
end
synced_folder("rsync", 5) do
require_relative "synced_folder"
SyncedFolder
end
end
end
end