Documentation
¶
Index ¶
- func CompareUsingEnglishCollation(a, b string) int
- func CreateFileWithAllParentDirectories(file string) (f *os.File, err error)
- func Diff(path1 string, path2 string) (string, error)
- func GetNormalizedTopicNameForSorting(topicName string) string
- func GetOpenSquareStandardIdentifierForISBN(isbn string) string
- func GetRelativeFilepathInLargeDirectoryTree(prefix string, ID int, extension string) string
- func GetTopicIDFromTopicPagePath(topicPagePath string) string
- func IsNYUPress(publisherName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOpenSquareStandardIdentifierForISBN ¶ added in v0.14.0
The ISBNs used as EPUB identifiers in the TCT are now almost all obsolete -- see https://jira.nyu.edu/browse/NYUP-753. Rather than change all the ISBNs in the Postgres database and the cache files, for now we just provide this mapping function. This map will never change because re-mapping only needs to be done for EPUBs that were published to Open Square before we standardized on library ISBN as the Open Square identifier. For simplicity, therefore, we just hardcode it in this function.
func IsNYUPress ¶ added in v0.14.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.