Documentation ¶
Overview ¶
renlfnはディレクトリを再帰的に探索して、ディレクトリとファイルの名前を切り詰めるためのルーチンを実装します。
短縮されたファイル名は、ファイルパス全体のCRC32値、拡張子のない基底名(basename)、ドットを含む拡張子からなります。
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasenameLength ¶ added in v0.0.4
BasenameLength は基底名の長さを計算します。
func ChecksumAscii ¶
func TruncatePath ¶
パスをとり、短縮されたファイル名を持つパスを作成します。
func TruncateString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.