hardlinks

package
v0.0.0-...-2c34a8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

README

CircleCI Go Report Card

import cloudeng.io/cmd/idu/internal/hardlinks

Types

Type Incremental
type Incremental struct {
	// contains filtered or unexported fields
}

Incremental tracks devices and inodes to determine if a newly seen file or directory is a duplicate, i.e. is a hard link to an existing filesystem entries. It is incremental and hence cannot detect the first entry in a set of hard links.

Methods
func (i *Incremental) Ref(dev uint64, ino uint64) bool

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Incremental

type Incremental struct {
	// contains filtered or unexported fields
}

Incremental tracks devices and inodes to determine if a newly seen file or directory is a duplicate, i.e. is a hard link to an existing filesystem entries. It is incremental and hence cannot detect the first entry in a set of hard links.

func (*Incremental) Ref

func (i *Incremental) Ref(dev uint64, ino uint64) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL