Fix comments for documentation

This commit is contained in:
Terence Boldt 2022-01-23 18:57:16 -05:00
parent 7f727a6377
commit 30a221c177
2 changed files with 7 additions and 7 deletions

View File

@ -39,17 +39,17 @@ type DirectoryHeader struct {
}
const (
// File is deleted
// StorageDeleted signifies file is deleted
StorageDeleted = 0
// File is <= 512 bytes
// StorageSeedling signifies file is <= 512 bytes
StorageSeedling = 1
// File is > 512 bytes and <= 128 KB
// StorageSapling signifies file is > 512 bytes and <= 128 KB
StorageSapling = 2
// File is > 128 KB and <= 16 MB
// StorageTree signifies file is > 128 KB and <= 16 MB
StorageTree = 3
// Pacal storage area
// StoragePascal signifies pascal storage area
StoragePascal = 4
// Directory
// StorageDirectory signifies directory
StorageDirectory = 13
)

View File

@ -40,7 +40,7 @@ func DateTimeToProDOS(dateTime time.Time) []byte {
return buffer
}
// DateTimeToProDOS converts Time from ProDOS date time
// DateTimeFromProDOS converts Time from ProDOS date time
func DateTimeFromProDOS(buffer []byte) time.Time {
if buffer[0] == 0 &&
buffer[1] == 0 &&