mirror of
https://github.com/restic/restic.git
synced 2026-10-06 02:40:31 +00:00
Fix godoc comments.
This commit is contained in:
@@ -18,7 +18,7 @@ type WindowsAttributes struct {
|
||||
SecurityDescriptor *[]byte `generic:"security_descriptor"`
|
||||
}
|
||||
|
||||
// windowsAttrsToGenericAttributes converts the WindowsAttributes to a generic attributes map using reflection
|
||||
// WindowsAttrsToGenericAttributes converts the WindowsAttributes to a generic attributes map using reflection
|
||||
func WindowsAttrsToGenericAttributes(windowsAttributes WindowsAttributes) (attrs map[GenericAttributeType]json.RawMessage, err error) {
|
||||
// Get the value of the WindowsAttributes
|
||||
windowsAttributesValue := reflect.ValueOf(windowsAttributes)
|
||||
|
||||
@@ -79,9 +79,9 @@ const (
|
||||
ConfigFile FileType = backend.ConfigFile
|
||||
)
|
||||
|
||||
// WriteableFileType defines the different data types that can be modified via SaveUnpacked or RemoveUnpacked.
|
||||
type WriteableFileType backend.FileType
|
||||
|
||||
// These are the different data types that can be modified via SaveUnpacked or RemoveUnpacked.
|
||||
const (
|
||||
WriteableSnapshotFile WriteableFileType = WriteableFileType(SnapshotFile)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user