aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c_hardflip.go3
-rw-r--r--c_ldirs.go10
-rw-r--r--c_lhosts.go10
3 files changed, 3 insertions, 20 deletions
diff --git a/c_hardflip.go b/c_hardflip.go
index 1e232a1..4364da8 100644
--- a/c_hardflip.go
+++ b/c_hardflip.go
@@ -62,9 +62,8 @@ type HardData struct {
data_dir string
}
-type HardSel interface {
+type HardPtr interface {
is_dir() bool
- get_id() uint64
}
func main() {
diff --git a/c_ldirs.go b/c_ldirs.go
index 4533d57..0eb727a 100644
--- a/c_ldirs.go
+++ b/c_ldirs.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/c_ldirs.go
- * Tue Dec 26 11:09:27 2023
+ * Thu 04 Jan 2024 11:50:52 AM CET
* Joe
*
* the directories linked list
@@ -130,11 +130,3 @@ func (ldirs *DirsList) count() (uint64, uint64) {
func (dir *DirsNode) is_dir() bool {
return true
}
-
-func (dir *DirsNode) get_id() uint64 {
- return dir.ID
-}
-
-func (dir *DirsNode) get_next() *DirsNode {
- return dir.next
-}
diff --git a/c_lhosts.go b/c_lhosts.go
index 0b7f702..bd02643 100644
--- a/c_lhosts.go
+++ b/c_lhosts.go
@@ -43,7 +43,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* hardflip: src/c_lhosts.go
- * Tue Dec 26 12:07:56 2023
+ * Thu 04 Jan 2024 11:50:55 AM CET
* Joe
*
* the hosts linked list
@@ -156,11 +156,3 @@ func (lhost *HostList) count() uint64 {
func (host *HostNode) is_dir() bool {
return false
}
-
-func (host *HostNode) get_id() uint64 {
- return host.ID
-}
-
-func (host *HostNode) get_next() *HostNode {
- return host.next
-}