<commit_before>package lifecycle

import (
	"fmt"
	"net/url"

	"github.com/lxc/lxd/lxd/project"
	"github.com/lxc/lxd/shared"
	"github.com/lxc/lxd/shared/api"
)

// InstanceBackupAction represents a lifecycle event action for instance backups.
type InstanceBackupAction string

// All supported lifecycle events for instance backups.
const (
	InstanceBackupCreated = InstanceBackupAction("created")
	InstanceBackupDeleted = InstanceBackupAction("deleted")
	InstanceBackupRenamed = InstanceBackupAction("renamed")<commit_msg>lxd/lifecycle/instance/backup: add InstanceBackupRetrieved<commit_after>package lifecycle

import (
	"fmt"
	"net/url"

	"github.com/lxc/lxd/lxd/project"
	"github.com/lxc/lxd/shared"
	"github.com/lxc/lxd/shared/api"
)

// InstanceBackupAction represents a lifecycle event action for instance backups.
type InstanceBackupAction string

// All supported lifecycle events for instance backups.
const (
	InstanceBackupCreated   = InstanceBackupAction("created")
	InstanceBackupDeleted   = InstanceBackupAction("deleted")
	InstanceBackupRenamed   = InstanceBackupAction("renamed")
	InstanceBackupRetrieved = InstanceBackupAction("retrieved")
{'fraction_non_alphanumeric': 0.09758203799654577, 'fraction_numerical': 0.0, 'mean_word_length': 6.067073170731708, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5809553', 'n_tokens_mistral': 351, 'n_tokens_neox': 378, 'n_words': 71}