mirror of
https://github.com/tjboldt/ProDOS-Utilities.git
synced 2024-11-28 12:51:35 +00:00
Fix comments for documentation
This commit is contained in:
parent
7f727a6377
commit
30a221c177
@ -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
|
||||
)
|
||||
|
||||
|
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user