]> Cypherpunks.ru repositories - goredo.git/blobdiff - inode.go
Do not use deprecated os.SEEK_*
[goredo.git] / inode.go
index 81e77bbf7d1463c5a32b3caf394fdfb835021eca..45c3acb6f2bb3eb39f75c89f652530a093a6c5aa 100644 (file)
--- a/inode.go
+++ b/inode.go
@@ -1,5 +1,5 @@
 /*
-goredo -- redo implementation on pure Go
+goredo -- djb's redo implementation on pure Go
 Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
@@ -28,6 +28,10 @@ import (
        "golang.org/x/sys/unix"
 )
 
+const EnvInodeNoTrust = "REDO_INODE_NO_TRUST"
+
+var InodeTrust bool = false
+
 type Inode struct {
        Size      int64
        CtimeSec  int64