mirror of
https://github.com/tjboldt/ProDOS-Utilities.git
synced 2024-11-24 16:31:28 +00:00
Fix comments for documentation
This commit is contained in:
parent
7f727a6377
commit
30a221c177
@ -39,17 +39,17 @@ type DirectoryHeader struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// File is deleted
|
// StorageDeleted signifies file is deleted
|
||||||
StorageDeleted = 0
|
StorageDeleted = 0
|
||||||
// File is <= 512 bytes
|
// StorageSeedling signifies file is <= 512 bytes
|
||||||
StorageSeedling = 1
|
StorageSeedling = 1
|
||||||
// File is > 512 bytes and <= 128 KB
|
// StorageSapling signifies file is > 512 bytes and <= 128 KB
|
||||||
StorageSapling = 2
|
StorageSapling = 2
|
||||||
// File is > 128 KB and <= 16 MB
|
// StorageTree signifies file is > 128 KB and <= 16 MB
|
||||||
StorageTree = 3
|
StorageTree = 3
|
||||||
// Pacal storage area
|
// StoragePascal signifies pascal storage area
|
||||||
StoragePascal = 4
|
StoragePascal = 4
|
||||||
// Directory
|
// StorageDirectory signifies directory
|
||||||
StorageDirectory = 13
|
StorageDirectory = 13
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ func DateTimeToProDOS(dateTime time.Time) []byte {
|
|||||||
return buffer
|
return buffer
|
||||||
}
|
}
|
||||||
|
|
||||||
// DateTimeToProDOS converts Time from ProDOS date time
|
// DateTimeFromProDOS converts Time from ProDOS date time
|
||||||
func DateTimeFromProDOS(buffer []byte) time.Time {
|
func DateTimeFromProDOS(buffer []byte) time.Time {
|
||||||
if buffer[0] == 0 &&
|
if buffer[0] == 0 &&
|
||||||
buffer[1] == 0 &&
|
buffer[1] == 0 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user