From 56c51cb7ce56244478da388b04869c139b80bdf5 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 4 Jan 2024 20:20:20 +0100 Subject: nothing's great retard boy --- c_hardflip.go | 3 +-- c_ldirs.go | 10 +--------- c_lhosts.go | 10 +--------- 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 -} -- cgit v1.2.3